Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 176.5 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008788/0.0008789, allocations: 107.1 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 15.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2729, allocations: 50.4 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.3971, allocations: 79.42 MB / 482.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.3975, allocations: 67.97 kB / 482.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.4116, allocations: 5.145 MB / 487.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.4116, allocations: 4 kB / 487.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.4117, allocations: 12 kB / 487.4 MB, free: 11.65 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008545/0.4125, allocations: 0.5731 MB / 488 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4126, allocations: 8.031 kB / 488 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.4127, allocations: 36.56 kB / 488 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.413, allocations: 259.7 kB / 488.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.413, allocations: 25.03 kB / 488.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.4131, allocations: 28.38 kB / 488.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.4136, allocations: 282.6 kB / 488.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4136, allocations: 8.188 kB / 488.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.4137, allocations: 15.94 kB / 488.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4137, allocations: 8 kB / 488.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.4142, allocations: 226.4 kB / 488.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4158, allocations: 1.057 MB / 489.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.4162, allocations: 162.5 kB / 490.1 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4164, allocations: 136.8 kB / 490.2 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.4165, allocations: 4 kB / 490.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4165, allocations: 42.5 kB / 490.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/0.4165, allocations: 0 / 490.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005573/0.4171, allocations: 244.3 kB / 490.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4171, allocations: 55.41 kB / 490.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4173, allocations: 215.1 kB / 490.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.4174, allocations: 25.7 kB / 490.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4175, allocations: 192 kB / 491 MB, free: 7.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.4176, allocations: 82.84 kB / 491 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.4176, allocations: 4 kB / 491 MB, free: 7.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4177, allocations: 330.8 kB / 491.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4179, allocations: 76.52 kB / 491.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.4181, allocations: 151.2 kB / 491.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.4185, allocations: 230.1 kB / 491.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4185, allocations: 0 / 491.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004664/0.4189, allocations: 281 kB / 492.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.419, allocations: 12.19 kB / 492.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.419, allocations: 4 kB / 492.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.419, allocations: 4 kB / 492.1 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.4193, allocations: 79.89 kB / 492.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4194, allocations: 4 kB / 492.2 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4195, allocations: 31.69 kB / 492.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4196, allocations: 11.98 kB / 492.2 MB, free: 6.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.4197, allocations: 145.8 kB / 492.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.4198, allocations: 27.66 kB / 492.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.4202, allocations: 214.3 kB / 492.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.4202, allocations: 0 / 492.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4202, allocations: 7.938 kB / 492.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4202, allocations: 0 / 492.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.4211, allocations: 0.6091 MB / 493.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4211, allocations: 8.062 kB / 493.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4214, allocations: 67.83 kB / 493.3 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4214, allocations: 0 / 493.3 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.4214, allocations: 8 kB / 493.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4214, allocations: 0 / 493.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4214, allocations: 4 kB / 493.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.422, allocations: 390.8 kB / 493.7 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.4221, allocations: 104.8 kB / 493.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.4221, allocations: 12 kB / 493.8 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4223, allocations: 15.98 kB / 493.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.4223, allocations: 15.98 kB / 493.8 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4224, allocations: 4 kB / 493.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4225, allocations: 156.7 kB / 494 MB, free: 4.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4225, allocations: 0 / 494 MB, free: 4.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.4229, allocations: 79.78 kB / 494.1 MB, free: 4.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.423, allocations: 99.25 kB / 494.2 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.4235, allocations: 200 kB / 494.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4235, allocations: 0 / 494.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.4236, allocations: 86.98 kB / 494.5 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.424, allocations: 28.67 kB / 494.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4254, allocations: 1.062 MB / 495.5 MB, free: 3.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.4258, allocations: 0.7674 MB / 496.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4259, allocations: 25.92 kB / 496.3 MB, free: 2.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.4259, allocations: 19.44 kB / 496.4 MB, free: 2.199 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4259, allocations: 4 kB / 496.4 MB, free: 2.195 MB / 362.7 MB Notification: Performance of Templates: time 0.00474/0.4307, allocations: 1.854 MB / 498.2 MB, free: 372 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches