Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009968/0.0009968, allocations: 81.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 164.1 kB / 24.82 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.98/0.98, allocations: 177 MB / 205.1 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 3.984 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.448e-05, allocations: 5.547 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004178/0.004192, allocations: 5.575 MB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.006059, allocations: 1.188 MB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.006386, allocations: 19.94 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.006637, allocations: 170.4 kB / 280.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.007017, allocations: 301.2 kB / 280.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.007347, allocations: 227.6 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.008043, allocations: 1.106 MB / 282 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.008452, allocations: 379 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.008933, allocations: 0.6316 MB / 283 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.009265, allocations: 374.9 kB / 283.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.009363, allocations: 100 kB / 283.4 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.00946, allocations: 100 kB / 283.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.009576, allocations: 227.1 kB / 283.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.009795, allocations: 363.2 kB / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.01029, allocations: 0.7161 MB / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01029, allocations: 0 / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.41e-07/0.01029, allocations: 0 / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.0103, allocations: 3.938 kB / 284.8 MB, free: 5.48 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001103/0.01141, allocations: 1.306 MB / 286.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.01144, allocations: 15.98 kB / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.01159, allocations: 180.3 kB / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.01194, allocations: 395.7 kB / 286.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.01198, allocations: 74.31 kB / 286.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.01206, allocations: 108.4 kB / 286.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.01273, allocations: 0.923 MB / 287.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01275, allocations: 192 / 287.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.01279, allocations: 44.31 kB / 287.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01281, allocations: 23.94 kB / 287.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.01308, allocations: 269.7 kB / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/0.1266, allocations: 2.797 MB / 290.9 MB, free: 25.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1269, allocations: 195.6 kB / 291.1 MB, free: 25.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1271, allocations: 173.1 kB / 291.3 MB, free: 25.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1271, allocations: 13.62 kB / 291.3 MB, free: 25.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1272, allocations: 41.17 kB / 291.3 MB, free: 25.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/0.1272, allocations: 0.625 kB / 291.3 MB, free: 25.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009224/0.1281, allocations: 437.3 kB / 291.8 MB, free: 25.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.1281, allocations: 56 kB / 291.8 MB, free: 24.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.1285, allocations: 0.5005 MB / 292.3 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1285, allocations: 35.42 kB / 292.4 MB, free: 24.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.1287, allocations: 0.547 MB / 292.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.1288, allocations: 163.4 kB / 293.1 MB, free: 24.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.1289, allocations: 143.5 kB / 293.2 MB, free: 24.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.129, allocations: 0.5435 MB / 293.7 MB, free: 23.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1291, allocations: 79.11 kB / 293.8 MB, free: 23.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1294, allocations: 482.4 kB / 294.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.1298, allocations: 0.6055 MB / 294.9 MB, free: 22.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.1298, allocations: 3.375 kB / 294.9 MB, free: 22.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007461/0.1305, allocations: 0.592 MB / 295.5 MB, free: 22.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1305, allocations: 8.562 kB / 295.5 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1306, allocations: 12.03 kB / 295.5 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.1308, allocations: 90.89 kB / 295.6 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.1313, allocations: 193.9 kB / 295.8 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.1324, allocations: 2.267 MB / 298.1 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.1327, allocations: 89.86 kB / 298.2 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1327, allocations: 29.34 kB / 298.2 MB, free: 20.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0001362/0.1329, allocations: 211.3 kB / 298.4 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.133, allocations: 70.7 kB / 298.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.133, allocations: 62.66 kB / 298.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.133, allocations: 4.594 kB / 298.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.133, allocations: 1.766 kB / 298.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.133, allocations: 4.031 kB / 298.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.1334, allocations: 358.3 kB / 298.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1334, allocations: 1.812 kB / 298.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1337, allocations: 97.12 kB / 299 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.1339, allocations: 80.67 kB / 299.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1339, allocations: 11.08 kB / 299.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.1348, allocations: 2.249 MB / 301.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1348, allocations: 0 / 301.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.1353, allocations: 0.541 MB / 301.9 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.1354, allocations: 56.73 kB / 301.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.1354, allocations: 10.92 kB / 301.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1357, allocations: 47.84 kB / 302 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.1357, allocations: 30.06 kB / 302 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1357, allocations: 10.62 kB / 302 MB, free: 18.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.1359, allocations: 304.3 kB / 302.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 0 / 302.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000675/0.1366, allocations: 254.4 kB / 302.6 MB, free: 17.91 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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 8.865e-05/0.1367, allocations: 110.2 kB / 302.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.1373, allocations: 0.5148 MB / 303.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1373, allocations: 2.031 kB / 303.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.1375, allocations: 340.5 kB / 303.5 MB, free: 17.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.138, allocations: 100.1 kB / 303.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1396, allocations: 1.258 MB / 304.9 MB, free: 16.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1397, allocations: 147 kB / 305 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1399, allocations: 65.38 kB / 305.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.1402, allocations: 215.4 kB / 305.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1402, allocations: 0 / 305.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of Templates: time 0.01065/0.1509, allocations: 7.269 MB / 312.5 MB, free: 12.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.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: 2.8712544017471373]