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.001042/0.001042, 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.001182/0.001182, 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.9947/0.9947, allocations: 177 MB / 204.8 MB, free: 5.59 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.733e-06/1.733e-06, allocations: 0 / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.973e-05, allocations: 5.266 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00482/0.004849, allocations: 5.685 MB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.007594, allocations: 1.192 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.008083, allocations: 19.94 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.008404, allocations: 174.3 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005968/0.009001, allocations: 293.2 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.009454, allocations: 223.7 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.01047, allocations: 1.11 MB / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.01102, allocations: 390.9 kB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.01179, allocations: 0.6277 MB / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.01223, allocations: 367 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.01235, allocations: 100 kB / 283.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.01247, allocations: 96 kB / 283.2 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.01258, allocations: 227.1 kB / 283.4 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.01287, allocations: 367.1 kB / 283.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.01357, allocations: 0.72 MB / 284.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.01358, allocations: 3.938 kB / 284.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01358, allocations: 0 / 284.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.0136, allocations: 0 / 284.5 MB, free: 5.793 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.00151/0.01511, allocations: 1.283 MB / 285.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.01517, allocations: 19.98 kB / 285.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.0154, allocations: 180.3 kB / 286 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.01594, allocations: 407.6 kB / 286.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.01598, allocations: 70.38 kB / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/0.01638, allocations: 96.38 kB / 286.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.01731, allocations: 0.9895 MB / 287.5 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.01733, allocations: 4.125 kB / 287.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.01738, allocations: 44.38 kB / 287.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.0174, allocations: 27.94 kB / 287.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.01791, allocations: 343.7 kB / 287.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/0.1395, allocations: 2.776 MB / 290.7 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.1399, allocations: 214.5 kB / 290.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1401, allocations: 188.6 kB / 291.1 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1401, allocations: 11.02 kB / 291.1 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1402, allocations: 45.05 kB / 291.2 MB, free: 25.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.655e-06/0.1402, allocations: 0.5312 kB / 291.2 MB, free: 25.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001056/0.1412, allocations: 484 kB / 291.6 MB, free: 25.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.1413, allocations: 57.55 kB / 291.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.1417, allocations: 0.5063 MB / 292.2 MB, free: 25.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1417, allocations: 38.95 kB / 292.2 MB, free: 24.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1419, allocations: 0.5437 MB / 292.8 MB, free: 24.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.142, allocations: 161.8 kB / 292.9 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1421, allocations: 139.6 kB / 293.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.1422, allocations: 0.5321 MB / 293.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.1424, allocations: 98.58 kB / 293.7 MB, free: 24.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1427, allocations: 0.491 MB / 294.2 MB, free: 23.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.1431, allocations: 0.643 MB / 294.8 MB, free: 23.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1431, allocations: 2.75 kB / 294.8 MB, free: 23.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008341/0.144, allocations: 0.6504 MB / 295.5 MB, free: 22.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.144, allocations: 11.36 kB / 295.5 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.144, allocations: 9.875 kB / 295.5 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.1443, allocations: 94.62 kB / 295.6 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.1447, allocations: 189 kB / 295.8 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1459, allocations: 2.307 MB / 298.1 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.1462, allocations: 89.5 kB / 298.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1462, allocations: 36.06 kB / 298.2 MB, free: 20.93 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.0001764/0.1464, allocations: 203.8 kB / 298.4 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.1465, allocations: 76.28 kB / 298.5 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.1466, allocations: 72.78 kB / 298.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1466, allocations: 3.438 kB / 298.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.1466, allocations: 2.344 kB / 298.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1466, allocations: 2.156 kB / 298.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.1471, allocations: 452.2 kB / 299 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1471, allocations: 1.438 kB / 299 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1473, allocations: 89.42 kB / 299.1 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002234/0.1475, allocations: 86.66 kB / 299.2 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1476, allocations: 8.812 kB / 299.2 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009504/0.1485, allocations: 2.295 MB / 301.5 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1485, allocations: 0 / 301.5 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.1491, allocations: 0.5744 MB / 302.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.1492, allocations: 62.11 kB / 302.1 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1492, allocations: 10.11 kB / 302.1 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.1494, allocations: 45.56 kB / 302.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.1495, allocations: 29.39 kB / 302.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1495, allocations: 18.67 kB / 302.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1497, allocations: 325.6 kB / 302.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1497, allocations: 0 / 302.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006825/0.1504, allocations: 257.1 kB / 302.8 MB, free: 17.64 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.0001238/0.1506, allocations: 111.1 kB / 302.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.1513, allocations: 0.5464 MB / 303.5 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1513, allocations: 0 / 303.5 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.1516, allocations: 349.6 kB / 303.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.152, allocations: 99.95 kB / 303.9 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1538, allocations: 1.273 MB / 305.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.1539, allocations: 147 kB / 305.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.1541, allocations: 60.78 kB / 305.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.1542, allocations: 39.45 kB / 305.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.914e-06/0.1542, allocations: 4 kB / 305.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of Templates: time 0.01076/0.165, allocations: 7.138 MB / 312.5 MB, free: 12.44 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.010508291888982]