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.0008586/0.0008586, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009136/0.0009136, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.904/0.904, allocations: 177 MB / 204.8 MB, free: 5.578 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 1.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.555e-05, allocations: 5.266 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007018/0.007043, allocations: 5.677 MB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.009205, allocations: 1.192 MB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.009548, allocations: 23.94 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.009905, allocations: 170.4 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.01046, allocations: 301.2 kB / 280.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.01092, allocations: 219.7 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.01195, allocations: 1.102 MB / 281.6 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.01258, allocations: 390.9 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.01325, allocations: 0.6316 MB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.01377, allocations: 375 kB / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.01391, allocations: 96 kB / 283.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.01407, allocations: 96 kB / 283.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.01424, allocations: 227.1 kB / 283.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.01482, allocations: 371.1 kB / 283.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.01561, allocations: 0.7122 MB / 284.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01562, allocations: 3.984 kB / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01562, allocations: 3.938 kB / 284.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.01563, allocations: 0 / 284.5 MB, free: 5.777 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.001801/0.01743, allocations: 1.287 MB / 285.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.01747, allocations: 11.98 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.01772, allocations: 188.3 kB / 286 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.01832, allocations: 411.6 kB / 286.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.01837, allocations: 66.38 kB / 286.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.01846, allocations: 100.4 kB / 286.6 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.01926, allocations: 0.9817 MB / 287.5 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01928, allocations: 4.125 kB / 287.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.01932, allocations: 44.38 kB / 287.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.01934, allocations: 23.94 kB / 287.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.01979, allocations: 351.7 kB / 287.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.1237, allocations: 2.768 MB / 290.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1239, allocations: 220.2 kB / 290.9 MB, free: 25.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1241, allocations: 185.3 kB / 291.1 MB, free: 25.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1242, allocations: 8.312 kB / 291.1 MB, free: 25.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1242, allocations: 45.5 kB / 291.2 MB, free: 25.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.004e-06/0.1242, allocations: 0 / 291.2 MB, free: 25.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008582/0.125, allocations: 486.7 kB / 291.6 MB, free: 25.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.1251, allocations: 57.59 kB / 291.7 MB, free: 25.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1254, allocations: 0.5121 MB / 292.2 MB, free: 24.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1254, allocations: 31.77 kB / 292.2 MB, free: 24.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1256, allocations: 0.5444 MB / 292.8 MB, free: 24.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.1257, allocations: 163.3 kB / 292.9 MB, free: 24.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1258, allocations: 142.4 kB / 293.1 MB, free: 24.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.1258, allocations: 0.5306 MB / 293.6 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.126, allocations: 96.34 kB / 293.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1262, allocations: 0.4948 MB / 294.2 MB, free: 23.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.1266, allocations: 0.6376 MB / 294.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1266, allocations: 7.25 kB / 294.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007249/0.1273, allocations: 0.651 MB / 295.5 MB, free: 22.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1274, allocations: 8.938 kB / 295.5 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1274, allocations: 9.906 kB / 295.5 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.1277, allocations: 90.8 kB / 295.6 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.1281, allocations: 193.7 kB / 295.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1292, allocations: 2.309 MB / 298.1 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.1294, allocations: 88.75 kB / 298.2 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.1295, allocations: 35.56 kB / 298.2 MB, free: 20.86 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.0001149/0.1296, allocations: 203.1 kB / 298.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.1296, allocations: 75.45 kB / 298.5 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.1297, allocations: 68.58 kB / 298.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1297, allocations: 4.531 kB / 298.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1297, allocations: 3.125 kB / 298.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1297, allocations: 2.062 kB / 298.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.1301, allocations: 452 kB / 299 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1301, allocations: 0 / 299 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1303, allocations: 94.8 kB / 299.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.1305, allocations: 87.95 kB / 299.2 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1305, allocations: 9.344 kB / 299.2 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008516/0.1314, allocations: 2.291 MB / 301.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1314, allocations: 0 / 301.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.1319, allocations: 0.5785 MB / 302.1 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1319, allocations: 58.08 kB / 302.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1319, allocations: 7.875 kB / 302.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.1321, allocations: 43.95 kB / 302.2 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.1322, allocations: 34.52 kB / 302.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1322, allocations: 13.75 kB / 302.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.1324, allocations: 322.7 kB / 302.5 MB, free: 17.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1324, allocations: 3.719 kB / 302.5 MB, free: 17.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.1329, allocations: 256.9 kB / 302.8 MB, free: 17.61 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.587e-05/0.133, allocations: 112.4 kB / 302.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.1336, allocations: 0.5458 MB / 303.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1336, allocations: 0 / 303.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.1338, allocations: 350.1 kB / 303.8 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1342, allocations: 105.2 kB / 303.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1357, allocations: 1.275 MB / 305.2 MB, free: 16.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.652e-05/0.1358, allocations: 146.3 kB / 305.3 MB, free: 16.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1359, allocations: 63.33 kB / 305.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.136, allocations: 42.47 kB / 305.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.136, allocations: 0 / 305.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of Templates: time 0.008255/0.1442, allocations: 6.78 MB / 312.2 MB, free: 12.77 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.9742740099318326]