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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007289/0.000729, allocations: 94.72 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.000782/0.000782, allocations: 179.6 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.281/1.281, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002274/0.0002274, allocations: 8 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0743/0.07454, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002664/0.07723, allocations: 2.549 MB / 355 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.07829, allocations: 0.6661 MB / 355.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.07847, allocations: 4 kB / 355.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.07862, allocations: 47.61 kB / 355.8 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.07881, allocations: 75.38 kB / 355.8 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.07904, allocations: 75.94 kB / 355.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.07941, allocations: 362.8 kB / 356.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.07967, allocations: 152.9 kB / 356.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.07986, allocations: 111.6 kB / 356.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.08002, allocations: 143.2 kB / 356.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.08006, allocations: 19.94 kB / 356.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.08011, allocations: 16 kB / 356.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.08016, allocations: 55.77 kB / 356.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.0803, allocations: 164.9 kB / 356.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.08053, allocations: 287.4 kB / 357.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.08054, allocations: 0 / 357.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08055, allocations: 0 / 357.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.08056, allocations: 0 / 357.2 MB, free: 14.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007926/0.08136, allocations: 0.5654 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.0814, allocations: 8.031 kB / 357.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.08147, allocations: 32.56 kB / 357.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.08174, allocations: 279.6 kB / 358.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.08177, allocations: 24.97 kB / 358.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.08183, allocations: 32.38 kB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.08238, allocations: 286.4 kB / 358.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.0824, allocations: 0 / 358.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.08243, allocations: 12 kB / 358.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.08245, allocations: 11.94 kB / 358.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.08294, allocations: 226.5 kB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.08442, allocations: 1.026 MB / 359.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.08475, allocations: 174.5 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.08504, allocations: 136.2 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.08508, allocations: 11.94 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.0851, allocations: 30.56 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.08511, allocations: 0 / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005746/0.08569, allocations: 244.4 kB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.08573, allocations: 51.41 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.08592, allocations: 219.1 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.08595, allocations: 25.7 kB / 360.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.08605, allocations: 192 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.08612, allocations: 82.84 kB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.08616, allocations: 25.7 kB / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.08627, allocations: 334.8 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.08646, allocations: 72.52 kB / 361.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.08668, allocations: 155.3 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.08709, allocations: 237.1 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0871, allocations: 8 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005055/0.08761, allocations: 273 kB / 361.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.08764, allocations: 8.25 kB / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.08765, allocations: 7.938 kB / 361.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.08767, allocations: 4 kB / 361.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.08798, allocations: 79.89 kB / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.088, allocations: 4 kB / 362 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.08817, allocations: 31.73 kB / 362 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.0882, allocations: 8 kB / 362 MB, free: 9.816 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.08832, allocations: 153.7 kB / 362.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.08838, allocations: 27.66 kB / 362.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.08881, allocations: 210.7 kB / 362.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.08883, allocations: 0 / 362.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.08884, allocations: 4 kB / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.08885, allocations: 3.984 kB / 362.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007791/0.08964, allocations: 0.6053 MB / 363 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.08965, allocations: 8.062 kB / 363 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.08995, allocations: 59.91 kB / 363.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.08996, allocations: 4 kB / 363.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.08999, allocations: 7.984 kB / 363.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.09, allocations: 4 kB / 363.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09, allocations: 0 / 363.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.09062, allocations: 388.9 kB / 363.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.09069, allocations: 108.9 kB / 363.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.09072, allocations: 128 / 363.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.09092, allocations: 23.98 kB / 363.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.09098, allocations: 19.92 kB / 363.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.09099, allocations: 7.938 kB / 363.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.09112, allocations: 152.7 kB / 363.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09113, allocations: 4 kB / 363.8 MB, free: 7.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000338/0.09147, allocations: 79.62 kB / 363.9 MB, free: 7.855 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.09158, allocations: 107.2 kB / 364 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.092, allocations: 188.2 kB / 364.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.09201, allocations: 0 / 364.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.09219, allocations: 87.89 kB / 364.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.09257, allocations: 32.59 kB / 364.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.09388, allocations: 1.097 MB / 365.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.09416, allocations: 0.7716 MB / 366.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.09423, allocations: 23.44 kB / 366.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09424, allocations: 0 / 366.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of Templates: time 0.004545/0.09879, allocations: 2.904 MB / 369.1 MB, free: 2.582 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches