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.001653/0.001653, allocations: 114.3 kB / 17.07 MB, free: 6 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.0017/0.0017, allocations: 190.9 kB / 18 MB, free: 5.082 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.61/1.61, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 55.91 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4479, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004778/0.4527, allocations: 2.895 MB / 403.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4542, allocations: 0.6582 MB / 404.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.4544, allocations: 8 kB / 404.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.4546, allocations: 59.38 kB / 404.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.4549, allocations: 91.23 kB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.4552, allocations: 95.83 kB / 404.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.4556, allocations: 386.8 kB / 404.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.456, allocations: 168.5 kB / 405.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.4562, allocations: 147.5 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.4565, allocations: 155.3 kB / 405.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.4565, allocations: 36 kB / 405.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.4566, allocations: 35.94 kB / 405.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.4567, allocations: 71.75 kB / 405.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.4569, allocations: 167.2 kB / 405.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.4573, allocations: 391.7 kB / 406.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4573, allocations: 4 kB / 406.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4573, allocations: 0 / 406.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.4573, allocations: 0 / 406.1 MB, free: 3.516 MB / 318.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.00101/0.4583, allocations: 0.616 MB / 406.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4584, allocations: 15.97 kB / 406.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.4585, allocations: 32.56 kB / 406.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.4588, allocations: 271.7 kB / 407 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.4589, allocations: 25.03 kB / 407 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.4589, allocations: 32.38 kB / 407.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.4594, allocations: 282.4 kB / 407.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4594, allocations: 4 kB / 407.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.4595, allocations: 16 kB / 407.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4595, allocations: 8 kB / 407.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.46, allocations: 210.5 kB / 407.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.4616, allocations: 1.018 MB / 408.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.462, allocations: 166.6 kB / 408.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.4623, allocations: 120.8 kB / 408.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.4623, allocations: 7.875 kB / 408.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4623, allocations: 38.56 kB / 408.9 MB, free: 496 kB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.4623, allocations: 0 / 408.9 MB, free: 496 kB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005422/0.4629, allocations: 229.5 kB / 409.1 MB, free: 260 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4629, allocations: 55.41 kB / 409.2 MB, free: 192 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4632, allocations: 207.2 kB / 409.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4632, allocations: 33.64 kB / 409.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4633, allocations: 195.9 kB / 409.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.4634, allocations: 74.98 kB / 409.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.4634, allocations: 49.89 kB / 409.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4636, allocations: 334.8 kB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4637, allocations: 68.47 kB / 410.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4639, allocations: 147.4 kB / 410.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.4643, allocations: 225.2 kB / 410.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4643, allocations: 4 kB / 410.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004866/0.4648, allocations: 269.2 kB / 410.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4648, allocations: 11.98 kB / 410.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4648, allocations: 7.984 kB / 410.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4649, allocations: 7.938 kB / 410.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.4652, allocations: 71.91 kB / 410.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4652, allocations: 4 kB / 410.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.4653, allocations: 27.77 kB / 410.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.4654, allocations: 8 kB / 410.9 MB, free: 14.37 MB / 334.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.0001482/0.4655, allocations: 154.4 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.4656, allocations: 23.66 kB / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.466, allocations: 204.8 kB / 411.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.466, allocations: 0 / 411.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.466, allocations: 0 / 411.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.466, allocations: 0 / 411.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.4668, allocations: 0.6001 MB / 411.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4668, allocations: 0 / 411.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4671, allocations: 63.89 kB / 411.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4671, allocations: 0 / 411.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.4671, allocations: 8 kB / 411.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4672, allocations: 4 kB / 411.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4672, allocations: 4 kB / 411.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.4677, allocations: 375.6 kB / 412.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.4678, allocations: 108.8 kB / 412.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.4679, allocations: 4 kB / 412.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.468, allocations: 19.98 kB / 412.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.4681, allocations: 15.98 kB / 412.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.4681, allocations: 4 kB / 412.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4683, allocations: 160.6 kB / 412.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4683, allocations: 0 / 412.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.4686, allocations: 79.62 kB / 412.7 MB, free: 12.44 MB / 334.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.0001427/0.4688, allocations: 103.2 kB / 412.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.4692, allocations: 175.8 kB / 413 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4692, allocations: 0 / 413 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4694, allocations: 83.83 kB / 413.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.4697, allocations: 33.28 kB / 413.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.471, allocations: 0.8361 MB / 413.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4713, allocations: 0.7712 MB / 414.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.495e-05/0.4714, allocations: 17.95 kB / 414.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.4714, allocations: 23.38 kB / 414.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4714, allocations: 4 kB / 414.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Templates: time 0.005273/0.4767, allocations: 2.079 MB / 416.8 MB, free: 8.273 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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