Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 114.4 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 47.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1014, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.2294/0.3308, allocations: 5.133 MB / 380.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009351/0.3402, allocations: 8.672 MB / 388.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.3409, allocations: 39.06 kB / 389 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009785/0.3419, allocations: 384.3 kB / 389.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.3442, allocations: 0.8134 MB / 390.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3457, allocations: 0.5748 MB / 390.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.3478, allocations: 1.646 MB / 392.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.3481, allocations: 170.1 kB / 392.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.3484, allocations: 278.7 kB / 392.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.3488, allocations: 318.8 kB / 393.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.3489, allocations: 29.25 kB / 393.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.3501, allocations: 0.5618 MB / 393.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.3501, allocations: 103.4 kB / 393.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.3504, allocations: 405.3 kB / 394.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3516, allocations: 1.196 MB / 395.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3516, allocations: 0.6562 kB / 395.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3517, allocations: 0 / 395.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3517, allocations: 4 kB / 395.4 MB, free: 2.516 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001662/0.3533, allocations: 1.271 MB / 396.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3534, allocations: 15 kB / 396.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3535, allocations: 112.2 kB / 396.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3546, allocations: 0.8503 MB / 397.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3547, allocations: 19.89 kB / 397.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.3547, allocations: 27.25 kB / 397.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.3552, allocations: 310.1 kB / 398 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3552, allocations: 0 / 398 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.3553, allocations: 11.11 kB / 398 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.3553, allocations: 15.14 kB / 398 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.3557, allocations: 230.6 kB / 398.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.3574, allocations: 1.189 MB / 399.5 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.3578, allocations: 208.6 kB / 399.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.3582, allocations: 223.3 kB / 399.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008631/0.3668, allocations: 8.565 MB / 408.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3669, allocations: 36.91 kB / 408.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.3669, allocations: 0 / 408.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001616/0.3685, allocations: 0.6696 MB / 409.2 MB, free: 7.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.3686, allocations: 79.95 kB / 409.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/0.3695, allocations: 0.7941 MB / 410 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3696, allocations: 30.83 kB / 410.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.3699, allocations: 442.6 kB / 410.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.37, allocations: 87.83 kB / 410.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.3701, allocations: 58.22 kB / 410.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3702, allocations: 321.5 kB / 410.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3704, allocations: 69.11 kB / 411 MB, free: 6.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3706, allocations: 149.1 kB / 411.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.3709, allocations: 220.8 kB / 411.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3709, allocations: 1.625 kB / 411.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006238/0.3716, allocations: 405 kB / 411.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3716, allocations: 5.25 kB / 411.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.3716, allocations: 14.53 kB / 411.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.372, allocations: 140.8 kB / 411.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3722, allocations: 44.78 kB / 412 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006098/0.3728, allocations: 0.7042 MB / 412.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.3732, allocations: 28.17 kB / 412.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3732, allocations: 16.09 kB / 412.7 MB, free: 4.879 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.3735, allocations: 194.1 kB / 412.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3736, allocations: 106.4 kB / 413 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008082/0.3744, allocations: 409.9 kB / 413.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3745, allocations: 2.906 kB / 413.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3745, allocations: 3.984 kB / 413.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3745, allocations: 5.281 kB / 413.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.3751, allocations: 0.503 MB / 413.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/0.3751, allocations: 16.59 kB / 413.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3753, allocations: 27.66 kB / 414 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.3755, allocations: 136.6 kB / 414.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3756, allocations: 9.875 kB / 414.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000606/0.3762, allocations: 0.6943 MB / 414.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3762, allocations: 3.938 kB / 414.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.3768, allocations: 461.7 kB / 415.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.3771, allocations: 167.4 kB / 415.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.3772, allocations: 5.344 kB / 415.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3774, allocations: 15.3 kB / 415.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.3775, allocations: 16.7 kB / 415.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3775, allocations: 7.781 kB / 415.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.3783, allocations: 0.5412 MB / 416 MB, free: 2.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3783, allocations: 0 / 416 MB, free: 2.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.3791, allocations: 189.5 kB / 416.2 MB, free: 2.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006428/0.3797, allocations: 312.9 kB / 416.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.3804, allocations: 277.9 kB / 416.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3804, allocations: 0 / 416.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.3808, allocations: 179.7 kB / 416.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.3814, allocations: 135.9 kB / 417.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3831, allocations: 1.222 MB / 418.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3836, allocations: 0.9341 MB / 419.2 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.3839, allocations: 113.9 kB / 419.3 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.384, allocations: 50.38 kB / 419.4 MB, free: 364 kB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.384, allocations: 0 / 419.4 MB, free: 364 kB / 334.1 MB Notification: Performance of Templates: time 0.01594/0.3999, allocations: 9.097 MB / 428.5 MB, free: 8.207 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches