Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 107.1 kB / 20.44 MB, free: 1.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 207.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 47.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3583, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004399/0.3627, allocations: 2.622 MB / 434.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3639, allocations: 0.6309 MB / 434.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3641, allocations: 7.938 kB / 434.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3642, allocations: 51.5 kB / 434.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.3644, allocations: 87.19 kB / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.3647, allocations: 79.89 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.365, allocations: 346.9 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.3653, allocations: 115.4 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3654, allocations: 139.5 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3656, allocations: 147.4 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.3657, allocations: 28 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.3657, allocations: 32 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.3658, allocations: 67.77 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3659, allocations: 139.4 kB / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.3663, allocations: 361.1 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3663, allocations: 0 / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.3663, allocations: 4 kB / 436.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3663, allocations: 3.938 kB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008999/0.3672, allocations: 0.5237 MB / 436.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3673, allocations: 8.031 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.3674, allocations: 32.75 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.3677, allocations: 210.7 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3678, allocations: 21.03 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3678, allocations: 28.36 kB / 437.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.3683, allocations: 305.8 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3683, allocations: 0 / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.3683, allocations: 8 kB / 437.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3683, allocations: 12 kB / 437.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.3687, allocations: 190.5 kB / 437.7 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.3701, allocations: 0.855 MB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.3705, allocations: 166.7 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3707, allocations: 132.8 kB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3707, allocations: 4 kB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3707, allocations: 38.56 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.3707, allocations: 0 / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001378/0.3721, allocations: 0.6984 MB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3721, allocations: 59.41 kB / 439.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.3723, allocations: 188.4 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3724, allocations: 29.7 kB / 439.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3725, allocations: 176.5 kB / 440.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.3726, allocations: 91.27 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.3726, allocations: 53.94 kB / 440.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3728, allocations: 334.8 kB / 440.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3729, allocations: 72.53 kB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3731, allocations: 98.8 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.3734, allocations: 174.2 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3734, allocations: 0 / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005988/0.374, allocations: 318.1 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.374, allocations: 4 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.374, allocations: 0 / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.3742, allocations: 92.83 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3744, allocations: 43.97 kB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.3766, allocations: 1.954 MB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.3768, allocations: 8.031 kB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3768, allocations: 8 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.3769, allocations: 145.7 kB / 443.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.377, allocations: 19.91 kB / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.377, allocations: 29.95 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.377, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3771, allocations: 4 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3771, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3782, allocations: 0.6353 MB / 444.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3782, allocations: 0 / 444.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.3783, allocations: 44.02 kB / 444.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.3786, allocations: 76.77 kB / 444.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3786, allocations: 11.94 kB / 444.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.3806, allocations: 1.841 MB / 446.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3806, allocations: 0 / 446.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.3815, allocations: 464.3 kB / 446.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3815, allocations: 23.94 kB / 446.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3815, allocations: 4 kB / 446.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.3817, allocations: 8.125 kB / 446.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.3817, allocations: 27.89 kB / 446.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3818, allocations: 8 kB / 446.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3819, allocations: 153.1 kB / 446.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3819, allocations: 4 kB / 446.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.3823, allocations: 72 kB / 446.8 MB, free: 6.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.3824, allocations: 107.2 kB / 447 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007347/0.3832, allocations: 358.4 kB / 447.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3832, allocations: 4.062 kB / 447.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.3836, allocations: 250.8 kB / 447.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.384, allocations: 35.97 kB / 447.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3854, allocations: 0.7732 MB / 448.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3855, allocations: 158.8 kB / 448.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.3856, allocations: 13.95 kB / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.3857, allocations: 19.44 kB / 448.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3857, allocations: 0 / 448.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of Templates: time 0.008875/0.3945, allocations: 3.677 MB / 452.2 MB, free: 1.48 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.979648998007178]