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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001486/0.001486, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 55.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2433, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006321/0.2496, allocations: 5.777 MB / 415.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.2522, allocations: 1.204 MB / 417 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.2527, allocations: 16 kB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.2531, allocations: 174.3 kB / 417.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.2537, allocations: 277.4 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.2542, allocations: 223.7 kB / 417.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2553, allocations: 1.064 MB / 418.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.256, allocations: 0.514 MB / 419.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.2565, allocations: 414.6 kB / 419.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.257, allocations: 485.9 kB / 420.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.2572, allocations: 96 kB / 420.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.2574, allocations: 96 kB / 420.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.2575, allocations: 219.2 kB / 420.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.258, allocations: 0.4938 MB / 421 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.2589, allocations: 1.11 MB / 422.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.259, allocations: 0 / 422.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.259, allocations: 0 / 422.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.259, allocations: 0 / 422.1 MB, free: 5.375 MB / 334.1 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.001916/0.2609, allocations: 1.236 MB / 423.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2609, allocations: 8.031 kB / 423.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.2611, allocations: 103.8 kB / 423.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.2617, allocations: 463.1 kB / 423.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.2618, allocations: 74.31 kB / 424 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2619, allocations: 100.3 kB / 424.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.2632, allocations: 0.8639 MB / 424.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2633, allocations: 4 kB / 424.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/0.2634, allocations: 44 kB / 425 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2634, allocations: 24 kB / 425 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.2643, allocations: 0.5699 MB / 425.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.2683, allocations: 2.941 MB / 428.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.2688, allocations: 302.2 kB / 428.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.2691, allocations: 272.7 kB / 429.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2691, allocations: 4 kB / 429.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2692, allocations: 42.56 kB / 429.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.264e-06/0.2692, allocations: 0 / 429.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001428/0.2706, allocations: 0.6432 MB / 429.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2707, allocations: 67.34 kB / 429.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.2712, allocations: 0.5102 MB / 430.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.2713, allocations: 37.7 kB / 430.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.2715, allocations: 493.4 kB / 430.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2716, allocations: 153.8 kB / 431 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2718, allocations: 138.4 kB / 431.1 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.272, allocations: 366.8 kB / 431.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.2723, allocations: 173.9 kB / 431.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.2727, allocations: 449.6 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.2735, allocations: 0.6517 MB / 432.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2735, allocations: 4 kB / 432.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001212/0.2747, allocations: 0.7571 MB / 433.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2747, allocations: 8 kB / 433.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.2748, allocations: 12 kB / 433.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.2751, allocations: 80.91 kB / 433.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.2758, allocations: 207.7 kB / 433.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.2776, allocations: 1.994 MB / 435.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.2781, allocations: 87.34 kB / 435.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.2782, allocations: 36.06 kB / 435.9 MB, free: 6.789 MB / 350.1 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.0002752/0.2784, allocations: 213.5 kB / 436.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.2786, allocations: 67.28 kB / 436.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2787, allocations: 61.5 kB / 436.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2787, allocations: 4 kB / 436.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2787, allocations: 4 kB / 436.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.2787, allocations: 3.984 kB / 436.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/0.2795, allocations: 0.6453 MB / 436.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2795, allocations: 4 kB / 436.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.2799, allocations: 103.8 kB / 437 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.2801, allocations: 72.73 kB / 437.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.2802, allocations: 12 kB / 437.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.2819, allocations: 1.975 MB / 439.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2819, allocations: 0 / 439.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.2829, allocations: 0.6625 MB / 439.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.283, allocations: 136.4 kB / 439.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.2831, allocations: 12 kB / 439.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.2835, allocations: 47.91 kB / 439.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.2836, allocations: 27.95 kB / 440 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2836, allocations: 12 kB / 440 MB, free: 2.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.284, allocations: 354.8 kB / 440.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.284, allocations: 0 / 440.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007495/0.2847, allocations: 239.3 kB / 440.6 MB, free: 1.922 MB / 350.1 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.000136/0.2849, allocations: 107.2 kB / 440.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.2858, allocations: 0.5973 MB / 441.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.2858, allocations: 8.062 kB / 441.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.2863, allocations: 314.4 kB / 441.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.2869, allocations: 120.7 kB / 441.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2892, allocations: 1.427 MB / 443.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2898, allocations: 0.9298 MB / 444.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2899, allocations: 43.44 kB / 444.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.334e-06/0.2899, allocations: 4 kB / 444.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01488/0.3048, allocations: 11.05 MB / 455.2 MB, free: 3.258 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches