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.001106/0.001106, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001066/0.001066, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9991/0.9991, allocations: 177 MB / 205.2 MB, free: 5.531 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.322e-06/1.322e-06, allocations: 0 / 273 MB, free: 1.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.721e-05, allocations: 2.312 kB / 273 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004672/0.0047, allocations: 5.653 MB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.006985, allocations: 1.2 MB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.007317, allocations: 23.94 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.007614, allocations: 170.4 kB / 280.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.008021, allocations: 297.2 kB / 280.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.008385, allocations: 219.7 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.009087, allocations: 1.102 MB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.009526, allocations: 391 kB / 282.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.009982, allocations: 0.6238 MB / 282.7 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.01035, allocations: 378.9 kB / 283.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01045, allocations: 100 kB / 283.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.01054, allocations: 96 kB / 283.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.01066, allocations: 223.2 kB / 283.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.0109, allocations: 371.1 kB / 283.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.01146, allocations: 0.72 MB / 284.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01146, allocations: 0 / 284.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01146, allocations: 0 / 284.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.01147, allocations: 0 / 284.6 MB, free: 6.074 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.001286/0.01276, allocations: 1.286 MB / 285.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.0128, allocations: 15.98 kB / 285.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.01297, allocations: 184.3 kB / 286 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.0134, allocations: 403.6 kB / 286.4 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.01344, allocations: 78.31 kB / 286.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/0.01378, allocations: 96.38 kB / 286.6 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.0146, allocations: 0.9895 MB / 287.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.01462, allocations: 192 / 287.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.01467, allocations: 36.38 kB / 287.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.01469, allocations: 27.94 kB / 287.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.01514, allocations: 351.7 kB / 288 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1098/0.125, allocations: 2.775 MB / 290.8 MB, free: 27.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1253, allocations: 215 kB / 291 MB, free: 27.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1255, allocations: 186.4 kB / 291.2 MB, free: 27.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1255, allocations: 6.031 kB / 291.2 MB, free: 27.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1255, allocations: 47.41 kB / 291.2 MB, free: 27.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/0.1255, allocations: 0.8438 kB / 291.2 MB, free: 27.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009593/0.1265, allocations: 484.8 kB / 291.7 MB, free: 27.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.1265, allocations: 60.81 kB / 291.8 MB, free: 27.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.1269, allocations: 0.5077 MB / 292.3 MB, free: 27.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.127, allocations: 36.86 kB / 292.3 MB, free: 27.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1271, allocations: 0.5399 MB / 292.8 MB, free: 26.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.8e-05/0.1272, allocations: 162.6 kB / 293 MB, free: 26.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.1274, allocations: 140.8 kB / 293.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.1274, allocations: 0.5313 MB / 293.7 MB, free: 26.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1276, allocations: 100.2 kB / 293.8 MB, free: 26.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1279, allocations: 0.4919 MB / 294.3 MB, free: 25.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.1283, allocations: 0.6396 MB / 294.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.1283, allocations: 2.5 kB / 294.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007816/0.1291, allocations: 0.6513 MB / 295.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1291, allocations: 19.09 kB / 295.6 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1291, allocations: 9.531 kB / 295.6 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.1294, allocations: 92.81 kB / 295.7 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.1298, allocations: 193.4 kB / 295.9 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.1311, allocations: 2.305 MB / 298.2 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.1314, allocations: 87.47 kB / 298.2 MB, free: 22.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.1314, allocations: 32.31 kB / 298.3 MB, free: 22.57 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.0001695/0.1316, allocations: 215.9 kB / 298.5 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.1317, allocations: 67.84 kB / 298.6 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1317, allocations: 59.94 kB / 298.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1317, allocations: 6.047 kB / 298.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1317, allocations: 2.781 kB / 298.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1317, allocations: 6 kB / 298.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.1322, allocations: 451.6 kB / 299.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1322, allocations: 1.438 kB / 299.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1324, allocations: 101.3 kB / 299.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.1326, allocations: 77.77 kB / 299.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1327, allocations: 11.77 kB / 299.3 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.1337, allocations: 2.288 MB / 301.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1337, allocations: 3.938 kB / 301.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.1342, allocations: 0.5737 MB / 302.1 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.1343, allocations: 59.39 kB / 302.2 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1343, allocations: 14.95 kB / 302.2 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1345, allocations: 44.83 kB / 302.2 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.1346, allocations: 29.66 kB / 302.3 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1346, allocations: 13.56 kB / 302.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002304/0.1349, allocations: 323.4 kB / 302.6 MB, free: 19.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1349, allocations: 0 / 302.6 MB, free: 19.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006254/0.1355, allocations: 253.1 kB / 302.8 MB, free: 19.27 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 0.0001108/0.1356, allocations: 111.4 kB / 303 MB, free: 19.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006925/0.1363, allocations: 0.5526 MB / 303.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1363, allocations: 2.188 kB / 303.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.1366, allocations: 349.5 kB / 303.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.137, allocations: 103.1 kB / 303.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1388, allocations: 1.269 MB / 305.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.1389, allocations: 150.2 kB / 305.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.1391, allocations: 66.78 kB / 305.4 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.1392, allocations: 39.19 kB / 305.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1392, allocations: 0 / 305.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of Templates: time 0.009501/0.1487, allocations: 6.791 MB / 312.3 MB, free: 13.94 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: 3.0676869170274585]