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.001227/0.001227, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001148/0.001148, allocations: 107.7 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000919/0.0009193, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3711, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00506/0.3762, allocations: 2.935 MB / 402.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3776, allocations: 0.6557 MB / 403.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.3779, allocations: 4 kB / 403.1 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3781, allocations: 51.61 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3783, allocations: 71.38 kB / 403.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3786, allocations: 83.94 kB / 403.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.3789, allocations: 374.8 kB / 403.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.3792, allocations: 136.9 kB / 403.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3794, allocations: 131.6 kB / 403.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3796, allocations: 163.2 kB / 404.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.3796, allocations: 24 kB / 404.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.693e-05/0.3797, allocations: 24 kB / 404.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.3797, allocations: 63.7 kB / 404.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3799, allocations: 163.2 kB / 404.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.3802, allocations: 368.2 kB / 404.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3802, allocations: 0 / 404.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3803, allocations: 0 / 404.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3803, allocations: 7.938 kB / 404.7 MB, free: 28.15 MB / 298.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.0009506/0.3812, allocations: 0.6161 MB / 405.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3813, allocations: 12.03 kB / 405.3 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.3814, allocations: 36.56 kB / 405.4 MB, free: 27.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3817, allocations: 259.7 kB / 405.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.3817, allocations: 25.03 kB / 405.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.3818, allocations: 32.38 kB / 405.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3823, allocations: 278.4 kB / 405.9 MB, free: 26.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3824, allocations: 0 / 405.9 MB, free: 26.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3824, allocations: 23.97 kB / 406 MB, free: 26.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3824, allocations: 8 kB / 406 MB, free: 26.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.3828, allocations: 214.5 kB / 406.2 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3842, allocations: 1.026 MB / 407.2 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.3845, allocations: 163.3 kB / 407.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3848, allocations: 132.8 kB / 407.5 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3848, allocations: 7.938 kB / 407.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3849, allocations: 30.56 kB / 407.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.3849, allocations: 0 / 407.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005332/0.3854, allocations: 229.6 kB / 407.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.3855, allocations: 55.41 kB / 407.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3856, allocations: 215.1 kB / 408 MB, free: 24.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3856, allocations: 29.7 kB / 408 MB, free: 24.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.3857, allocations: 192 kB / 408.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3858, allocations: 78.89 kB / 408.3 MB, free: 24.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.3858, allocations: 45.98 kB / 408.4 MB, free: 24.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.3859, allocations: 338.8 kB / 408.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3861, allocations: 64.52 kB / 408.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3863, allocations: 151.2 kB / 408.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.3866, allocations: 225.2 kB / 409.1 MB, free: 23.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3866, allocations: 4 kB / 409.1 MB, free: 23.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000413/0.387, allocations: 269.2 kB / 409.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.387, allocations: 7.938 kB / 409.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.387, allocations: 4 kB / 409.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3871, allocations: 4 kB / 409.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.3873, allocations: 79.83 kB / 409.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3874, allocations: 4 kB / 409.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3875, allocations: 31.67 kB / 409.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.3875, allocations: 16 kB / 409.5 MB, free: 22.99 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.3877, allocations: 145.8 kB / 409.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.3877, allocations: 19.75 kB / 409.7 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.3881, allocations: 199.3 kB / 409.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3881, allocations: 0 / 409.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3881, allocations: 0 / 409.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3881, allocations: 3.984 kB / 409.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.3889, allocations: 0.6039 MB / 410.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3889, allocations: 0 / 410.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.3891, allocations: 51.97 kB / 410.5 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3892, allocations: 3.938 kB / 410.5 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3892, allocations: 8.047 kB / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3892, allocations: 3.984 kB / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3892, allocations: 7.984 kB / 410.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.3915, allocations: 2.113 MB / 412.7 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.3916, allocations: 92.92 kB / 412.8 MB, free: 19.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3916, allocations: 8.062 kB / 412.8 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3918, allocations: 19.92 kB / 412.8 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.3919, allocations: 11.98 kB / 412.8 MB, free: 19.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3919, allocations: 11.98 kB / 412.8 MB, free: 19.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.392, allocations: 156.6 kB / 413 MB, free: 19.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.392, allocations: 0 / 413 MB, free: 19.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.3925, allocations: 103.7 kB / 413.1 MB, free: 19.2 MB / 298.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 (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.0001403/0.3926, allocations: 107.2 kB / 413.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.3931, allocations: 174.7 kB / 413.4 MB, free: 18.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3931, allocations: 4.062 kB / 413.4 MB, free: 18.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3932, allocations: 79.84 kB / 413.4 MB, free: 18.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3937, allocations: 32.81 kB / 413.5 MB, free: 18.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3951, allocations: 1.157 MB / 414.6 MB, free: 17.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3954, allocations: 0.7794 MB / 415.4 MB, free: 16.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.3955, allocations: 25.94 kB / 415.4 MB, free: 16.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.3956, allocations: 23.44 kB / 415.4 MB, free: 16.75 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.3956, allocations: 0 / 415.4 MB, free: 16.75 MB / 298.7 MB Notification: Performance of Templates: time 0.005586/0.4012, allocations: 2.356 MB / 417.8 MB, free: 14.41 MB / 298.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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