Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007261/0.0007261, allocations: 93.31 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007826/0.0007826, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002315, allocations: 8.531 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07116/0.07141, allocations: 50.41 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004718/0.07614, allocations: 5.293 MB / 357.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.07804, allocations: 1.145 MB / 358.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.0785, allocations: 20 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.07881, allocations: 135 kB / 359.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005754/0.07939, allocations: 238 kB / 359.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.07978, allocations: 179.8 kB / 359.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008346/0.08063, allocations: 1.028 MB / 360.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.0812, allocations: 440.6 kB / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.08149, allocations: 342.6 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.0819, allocations: 406 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.519e-05/0.08199, allocations: 52 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.08211, allocations: 56 kB / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.08223, allocations: 163.2 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.08259, allocations: 471.4 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.08319, allocations: 0.8064 MB / 363.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.0832, allocations: 0 / 363.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.0832, allocations: 0 / 363.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.08322, allocations: 0 / 363.2 MB, free: 8.895 MB / 302.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.001612/0.08483, allocations: 1.084 MB / 364.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.08487, allocations: 8.031 kB / 364.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.08502, allocations: 107.7 kB / 364.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.08551, allocations: 447.2 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.08558, allocations: 70.38 kB / 364.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.0857, allocations: 100.2 kB / 365 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.08703, allocations: 0.8755 MB / 365.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.08705, allocations: 0 / 365.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.08714, allocations: 40 kB / 365.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.08717, allocations: 24 kB / 365.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.08814, allocations: 0.5738 MB / 366.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.09208, allocations: 2.976 MB / 369.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.0925, allocations: 305.2 kB / 369.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.09287, allocations: 272.7 kB / 370.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.0929, allocations: 4 kB / 370.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.09293, allocations: 38.55 kB / 370.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.09294, allocations: 4 kB / 370.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.0014/0.09435, allocations: 0.6588 MB / 370.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.09439, allocations: 63.39 kB / 370.8 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.09491, allocations: 0.5102 MB / 371.3 MB, free: 480 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.09495, allocations: 37.7 kB / 371.4 MB, free: 436 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1364/0.2314, allocations: 479.5 kB / 371.8 MB, free: 24.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.2316, allocations: 156.3 kB / 372 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.2317, allocations: 67.06 kB / 372.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2318, allocations: 364.1 kB / 372.4 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.2322, allocations: 173.5 kB / 372.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.2326, allocations: 458.1 kB / 373 MB, free: 23.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.2333, allocations: 0.6526 MB / 373.7 MB, free: 23.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2334, allocations: 2.562 kB / 373.7 MB, free: 23.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001331/0.2347, allocations: 0.7652 MB / 374.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2347, allocations: 9.156 kB / 374.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2347, allocations: 8.875 kB / 374.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.235, allocations: 89.45 kB / 374.6 MB, free: 23.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.2358, allocations: 198.3 kB / 374.8 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2373, allocations: 1.818 MB / 376.6 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.2378, allocations: 85.66 kB / 376.7 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.2378, allocations: 36.53 kB / 376.7 MB, free: 21.71 MB / 302.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.0002427/0.2381, allocations: 218 kB / 376.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.2382, allocations: 57.59 kB / 377 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2383, allocations: 67.06 kB / 377 MB, free: 21.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2383, allocations: 4.125 kB / 377 MB, free: 21.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.2383, allocations: 6.812 kB / 377 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2383, allocations: 2.156 kB / 377 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.239, allocations: 0.6418 MB / 377.7 MB, free: 21.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.239, allocations: 0 / 377.7 MB, free: 21.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.2395, allocations: 107.7 kB / 377.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.2397, allocations: 72.91 kB / 377.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.2397, allocations: 8.719 kB / 377.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.241, allocations: 1.793 MB / 379.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.241, allocations: 0 / 379.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.2419, allocations: 0.6703 MB / 380.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.242, allocations: 136.6 kB / 380.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.2421, allocations: 13.56 kB / 380.5 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.2426, allocations: 50.5 kB / 380.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.2427, allocations: 29.03 kB / 380.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.2427, allocations: 13.77 kB / 380.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003545/0.243, allocations: 347.8 kB / 380.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2431, allocations: 0 / 380.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007416/0.2438, allocations: 245.2 kB / 381.1 MB, free: 18.73 MB / 302.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.0001084/0.2439, allocations: 122.1 kB / 381.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.2448, allocations: 0.5961 MB / 381.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2448, allocations: 1.188 kB / 381.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.2452, allocations: 323.6 kB / 382.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.2459, allocations: 114.2 kB / 382.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.2479, allocations: 1.883 MB / 384.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.2483, allocations: 0.936 MB / 385.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.2484, allocations: 43.34 kB / 385.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2484, allocations: 0.9375 kB / 385.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of Templates: time 0.01397/0.2624, allocations: 10.9 MB / 396 MB, free: 11.91 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches