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.001716/0.001716, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001929/0.00193, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.71/1.71, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 63.89 kB / 358.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4003, allocations: 50.54 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006962/0.4073, allocations: 5.773 MB / 415.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.4102, allocations: 1.204 MB / 416.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.4107, allocations: 19.94 kB / 416.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.4111, allocations: 166.4 kB / 416.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.4117, allocations: 285.5 kB / 416.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.4122, allocations: 219.7 kB / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009971/0.4132, allocations: 1.064 MB / 418 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.414, allocations: 0.5219 MB / 418.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.4144, allocations: 414.6 kB / 418.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.415, allocations: 477.9 kB / 419.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.4152, allocations: 100 kB / 419.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.4153, allocations: 96 kB / 419.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.4155, allocations: 219.3 kB / 419.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.416, allocations: 0.4977 MB / 420.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.4171, allocations: 1.103 MB / 421.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.4171, allocations: 4 kB / 421.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4171, allocations: 4 kB / 421.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.4171, allocations: 0 / 421.4 MB, free: 5.367 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.001974/0.4191, allocations: 1.232 MB / 422.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.4192, allocations: 8.031 kB / 422.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.4193, allocations: 103.8 kB / 422.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.4201, allocations: 463 kB / 423.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.4201, allocations: 70.38 kB / 423.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4203, allocations: 104.2 kB / 423.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.4215, allocations: 0.8755 MB / 424.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4216, allocations: 0 / 424.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.4216, allocations: 40 kB / 424.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.4217, allocations: 24 kB / 424.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009243/0.4226, allocations: 0.5661 MB / 424.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.4267, allocations: 2.945 MB / 427.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.4272, allocations: 298.3 kB / 428.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.4276, allocations: 276.7 kB / 428.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.4276, allocations: 4 kB / 428.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.4277, allocations: 38.56 kB / 428.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.944e-06/0.4277, allocations: 0 / 428.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001454/0.4291, allocations: 0.651 MB / 429.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.4292, allocations: 59.41 kB / 429.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.4298, allocations: 0.5141 MB / 429.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4298, allocations: 29.7 kB / 429.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.4302, allocations: 489.5 kB / 430.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4303, allocations: 161.8 kB / 430.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.4305, allocations: 138.5 kB / 430.5 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4307, allocations: 366.8 kB / 430.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.431, allocations: 169.9 kB / 431 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.4315, allocations: 449.6 kB / 431.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.4323, allocations: 0.6557 MB / 432.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4323, allocations: 4 kB / 432.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001191/0.4335, allocations: 0.7606 MB / 432.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4335, allocations: 8 kB / 432.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4336, allocations: 11.98 kB / 432.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.4339, allocations: 89.31 kB / 432.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.4346, allocations: 191.7 kB / 433.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.4367, allocations: 2.006 MB / 435.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.4372, allocations: 91 kB / 435.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.4373, allocations: 32 kB / 435.3 MB, free: 6.777 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.0003291/0.4376, allocations: 217.5 kB / 435.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.4377, allocations: 55.34 kB / 435.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.4378, allocations: 69.5 kB / 435.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4378, allocations: 4.062 kB / 435.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4378, allocations: 4 kB / 435.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.4379, allocations: 3.984 kB / 435.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.4386, allocations: 0.6453 MB / 436.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4387, allocations: 0 / 436.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.4391, allocations: 103.9 kB / 436.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.4393, allocations: 76.73 kB / 436.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.4394, allocations: 8 kB / 436.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.4412, allocations: 1.975 MB / 438.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4412, allocations: 0 / 438.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000921/0.4422, allocations: 0.6699 MB / 439.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4423, allocations: 132.4 kB / 439.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.4424, allocations: 12 kB / 439.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.4427, allocations: 43.97 kB / 439.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.4429, allocations: 28.08 kB / 439.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.4429, allocations: 20 kB / 439.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.4433, allocations: 342.9 kB / 439.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4433, allocations: 0 / 439.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008417/0.4441, allocations: 243.3 kB / 439.9 MB, free: 1.914 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.0001834/0.4443, allocations: 115.2 kB / 440 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.4454, allocations: 0.5965 MB / 440.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4454, allocations: 0 / 440.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.4458, allocations: 322.3 kB / 440.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.4464, allocations: 117.7 kB / 441 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4488, allocations: 1.405 MB / 442.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.4493, allocations: 0.9259 MB / 443.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.4495, allocations: 69.2 kB / 443.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.4496, allocations: 39.44 kB / 443.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4496, allocations: 4 kB / 443.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01377/0.4634, allocations: 7.283 MB / 450.7 MB, free: 7.035 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches