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.001734/0.001734, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001991/0.001991, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.7/1.7, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001743/0.001743, allocations: 51.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1354, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00504/0.1404, allocations: 2.837 MB / 429.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1419, allocations: 0.6465 MB / 430.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1421, allocations: 4 kB / 430.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1423, allocations: 51.5 kB / 430.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1425, allocations: 87.19 kB / 430.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1428, allocations: 79.89 kB / 430.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.1432, allocations: 354.9 kB / 430.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.1435, allocations: 103.4 kB / 431 MB, free: 88 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3335/0.477, allocations: 133.4 kB / 431.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.4775, allocations: 148.8 kB / 431.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.4776, allocations: 31.94 kB / 431.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.4777, allocations: 30.94 kB / 431.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4778, allocations: 66.34 kB / 431.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.4781, allocations: 164.2 kB / 431.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.4788, allocations: 367.2 kB / 431.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4788, allocations: 0.9062 kB / 431.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4788, allocations: 0 / 431.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4788, allocations: 0.5625 kB / 431.9 MB, free: 8.094 MB / 350.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.0011/0.4799, allocations: 0.5941 MB / 432.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.4799, allocations: 12.47 kB / 432.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.48, allocations: 33.12 kB / 432.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4804, allocations: 262.3 kB / 432.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.4804, allocations: 21.81 kB / 432.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.4805, allocations: 28.69 kB / 432.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.481, allocations: 249.1 kB / 433.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.481, allocations: 5.203 kB / 433.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.481, allocations: 11.62 kB / 433.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4811, allocations: 7 kB / 433.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.4814, allocations: 190.7 kB / 433.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.483, allocations: 1.013 MB / 434.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.4834, allocations: 315.9 kB / 434.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.4838, allocations: 131.8 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4838, allocations: 2.438 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.4838, allocations: 40.02 kB / 434.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.827e-06/0.4838, allocations: 2.531 kB / 434.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00225/0.4861, allocations: 0.7745 MB / 435.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4861, allocations: 54.88 kB / 435.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4864, allocations: 197.3 kB / 435.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4865, allocations: 30.23 kB / 435.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.4866, allocations: 167.8 kB / 436 MB, free: 6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.4867, allocations: 99.84 kB / 436.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4868, allocations: 49.81 kB / 436.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.487, allocations: 335.9 kB / 436.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4872, allocations: 74.5 kB / 436.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.4874, allocations: 101.7 kB / 436.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.4877, allocations: 178.9 kB / 436.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4877, allocations: 0 / 436.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006559/0.4884, allocations: 315.3 kB / 437.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.4884, allocations: 7.641 kB / 437.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4884, allocations: 5.219 kB / 437.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.4888, allocations: 85.7 kB / 437.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.4891, allocations: 42.75 kB / 437.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.4916, allocations: 2.096 MB / 439.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.4918, allocations: 7.938 kB / 439.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.4918, allocations: 14.83 kB / 439.4 MB, free: 3.82 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.0001979/0.492, allocations: 137.8 kB / 439.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.4921, allocations: 21.73 kB / 439.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.188e-05/0.4921, allocations: 27.8 kB / 439.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4922, allocations: 4.953 kB / 439.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/0.4922, allocations: 2.188 kB / 439.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4922, allocations: 6.703 kB / 439.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4936, allocations: 0.7414 MB / 440.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4936, allocations: 3.375 kB / 440.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.4938, allocations: 41.14 kB / 440.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.4941, allocations: 70.36 kB / 440.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4941, allocations: 7.812 kB / 440.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.4961, allocations: 1.993 MB / 442.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4961, allocations: 0 / 442.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.4969, allocations: 461.4 kB / 442.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.497, allocations: 100.7 kB / 443 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.497, allocations: 6.125 kB / 443 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4972, allocations: 17.59 kB / 443 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.4973, allocations: 16.58 kB / 443 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.4973, allocations: 9.562 kB / 443 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.4975, allocations: 142.9 kB / 443.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4975, allocations: 0 / 443.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005887/0.4981, allocations: 75.75 kB / 443.2 MB, free: 0.8828 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.0002046/0.4983, allocations: 105.5 kB / 443.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.4992, allocations: 357.8 kB / 443.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4992, allocations: 1.156 kB / 443.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.4997, allocations: 253 kB / 443.9 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.5001, allocations: 42.22 kB / 444 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5019, allocations: 0.7701 MB / 444.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.5025, allocations: 0.7657 MB / 445.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.5027, allocations: 24.84 kB / 445.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.5028, allocations: 18.31 kB / 445.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5028, allocations: 0 / 445.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.5155, allocations: 3.302 MB / 448.9 MB, free: 14.96 MB / 366.1 MB " [Timeout remaining time 659] 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: 5.440460853278637]