Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009428/0.0009428, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9993/0.9993, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.458e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004156/0.004191, allocations: 2.808 MB / 270.8 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.005355, allocations: 0.6152 MB / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.005499, allocations: 8 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.005669, allocations: 47.56 kB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.005858, allocations: 91.12 kB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.006088, allocations: 79.83 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.006477, allocations: 370.7 kB / 272 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.006727, allocations: 99.77 kB / 272.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.00697, allocations: 203.6 kB / 272.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.007184, allocations: 107.7 kB / 272.4 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.007239, allocations: 32 kB / 272.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.007289, allocations: 28 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.007353, allocations: 79.67 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.007469, allocations: 107.8 kB / 272.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.007803, allocations: 239.1 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007807, allocations: 4 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007809, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.007816, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 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.0008902/0.008706, allocations: 0.6208 MB / 273.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.008763, allocations: 8.922 kB / 273.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.00887, allocations: 60.73 kB / 273.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.009179, allocations: 204.1 kB / 273.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.009206, allocations: 21.03 kB / 273.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.009274, allocations: 32.38 kB / 273.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.009719, allocations: 254.8 kB / 274.1 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.009731, allocations: 192 / 274.1 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.00976, allocations: 12.38 kB / 274.1 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.009778, allocations: 15.92 kB / 274.1 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.01001, allocations: 103.8 kB / 274.2 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.01157, allocations: 0.8906 MB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.0119, allocations: 139.1 kB / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.01208, allocations: 95.66 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.0121, allocations: 4 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.01214, allocations: 37.39 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.106e-06/0.01214, allocations: 0 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001316/0.01345, allocations: 0.5934 MB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.01349, allocations: 59.34 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.01368, allocations: 234.7 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01371, allocations: 33.7 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01383, allocations: 219.2 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.01391, allocations: 99.16 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.269e-05/0.01399, allocations: 51.64 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.01415, allocations: 0.5001 MB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.01424, allocations: 48.47 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01436, allocations: 73.59 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.01457, allocations: 123.3 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01457, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004832/0.01505, allocations: 264.9 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.01508, allocations: 4 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.01509, allocations: 3.984 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/0.01546, allocations: 83.61 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.01564, allocations: 51.91 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.01783, allocations: 2.364 MB / 280.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.01792, allocations: 8 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.01794, allocations: 8 kB / 280.2 MB, free: 9.793 MB / 266.7 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.0001431/0.01808, allocations: 168.5 kB / 280.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.01814, allocations: 39.81 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01819, allocations: 25.97 kB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.01819, allocations: 4.109 kB / 280.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.01821, allocations: 3.938 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.01821, allocations: 3.984 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009814/0.0192, allocations: 0.6221 MB / 281 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.0192, allocations: 7.969 kB / 281 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.01934, allocations: 39.98 kB / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.01954, allocations: 67.56 kB / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.01956, allocations: 8 kB / 281.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.02099, allocations: 2.282 MB / 283.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.02099, allocations: 4 kB / 283.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.02138, allocations: 431.4 kB / 283.9 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.02141, allocations: 19.89 kB / 283.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.02143, allocations: 8 kB / 283.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.02151, allocations: 15.98 kB / 283.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.02158, allocations: 19.95 kB / 283.9 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.02159, allocations: 8 kB / 283.9 MB, free: 5.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.02169, allocations: 176.5 kB / 284.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02169, allocations: 0 / 284.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.022, allocations: 79.94 kB / 284.2 MB, free: 5.578 MB / 266.7 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.0001555/0.02216, allocations: 103.2 kB / 284.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.02269, allocations: 373.4 kB / 284.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.0227, allocations: 0 / 284.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.02299, allocations: 297.2 kB / 284.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.02328, allocations: 44.25 kB / 285 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02434, allocations: 0.6526 MB / 285.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.02441, allocations: 92.3 kB / 285.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.02446, allocations: 21.95 kB / 285.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.02451, allocations: 16.5 kB / 285.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02451, allocations: 0 / 285.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of Templates: time 0.006353/0.03086, allocations: 3.327 MB / 289.1 MB, free: 0.6094 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0422484651207924]