Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001696/0.001696, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 47.92 kB / 328.5 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2816/0.4037, allocations: 5.34 MB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.4076, allocations: 1.473 MB / 382 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.4081, allocations: 28.62 kB / 382 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.4087, allocations: 217.1 kB / 382.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.4092, allocations: 198 kB / 382.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008713/0.4101, allocations: 390.8 kB / 382.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.4116, allocations: 1.128 MB / 383.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007686/0.4123, allocations: 488.7 kB / 384.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.4129, allocations: 397.2 kB / 384.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.4134, allocations: 430.8 kB / 385.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.4136, allocations: 83.78 kB / 385.3 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.4138, allocations: 99.55 kB / 385.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.414, allocations: 210.1 kB / 385.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.4145, allocations: 0.498 MB / 386.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.4162, allocations: 1.175 MB / 387.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4162, allocations: 8 kB / 387.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.4163, allocations: 1.125 kB / 387.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.606e-05/0.4163, allocations: 2.109 kB / 387.3 MB, free: 7.402 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002132/0.4184, allocations: 1.341 MB / 388.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/0.4185, allocations: 13.98 kB / 388.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.4187, allocations: 129.1 kB / 388.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.4198, allocations: 0.6512 MB / 389.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/0.4199, allocations: 80.66 kB / 389.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.4201, allocations: 102.7 kB / 389.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.422, allocations: 1.025 MB / 390.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.422, allocations: 11.78 kB / 390.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.4221, allocations: 44.34 kB / 390.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.4222, allocations: 26.66 kB / 390.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.4233, allocations: 0.5519 MB / 391.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.4279, allocations: 5.504 MB / 396.7 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.4285, allocations: 235.3 kB / 397 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.4288, allocations: 160.8 kB / 397.1 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.429, allocations: 85.03 kB / 397.2 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.429, allocations: 38.48 kB / 397.2 MB, free: 132 kB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.429, allocations: 0 / 397.2 MB, free: 132 kB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004064/0.4331, allocations: 1.739 MB / 399 MB, free: 15.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.4331, allocations: 93.36 kB / 399.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4342, allocations: 0.6359 MB / 399.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.4343, allocations: 32.69 kB / 399.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.435, allocations: 0.6165 MB / 400.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.4352, allocations: 150.9 kB / 400.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.4354, allocations: 142.3 kB / 400.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002811/0.4357, allocations: 387.5 kB / 401 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.4361, allocations: 152.1 kB / 401.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.4368, allocations: 498 kB / 401.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.4378, allocations: 0.7014 MB / 402.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.4379, allocations: 7.344 kB / 402.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00136/0.4392, allocations: 0.7113 MB / 403.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4393, allocations: 9.531 kB / 403.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.4393, allocations: 12.03 kB / 403.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/0.4393, allocations: 17.95 kB / 403.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.44, allocations: 207 kB / 403.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.303e-05/0.4401, allocations: 22.97 kB / 403.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4405, allocations: 33.11 kB / 403.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.4405, allocations: 36.28 kB / 403.4 MB, free: 12.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0003968/0.4409, allocations: 230.2 kB / 403.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.4412, allocations: 79.8 kB / 403.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.4413, allocations: 73.56 kB / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.4413, allocations: 8.062 kB / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.4414, allocations: 6.031 kB / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.4414, allocations: 2.156 kB / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.4438, allocations: 1.313 MB / 405.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4438, allocations: 1.406 kB / 405.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.4443, allocations: 103.8 kB / 405.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.4443, allocations: 11.53 kB / 405.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.4444, allocations: 8.266 kB / 405.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.4444, allocations: 4.25 kB / 405.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.4444, allocations: 6.281 kB / 405.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4458, allocations: 0.7192 MB / 406 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.446, allocations: 147 kB / 406.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.4461, allocations: 8.625 kB / 406.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.4467, allocations: 26 kB / 406.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4468, allocations: 29.98 kB / 406.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4468, allocations: 14.89 kB / 406.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009358/0.4478, allocations: 420.4 kB / 406.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4478, allocations: 0 / 406.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001186/0.449, allocations: 145.3 kB / 406.7 MB, free: 10.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0002666/0.4493, allocations: 114.3 kB / 406.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.4506, allocations: 449.2 kB / 407.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4506, allocations: 0 / 407.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.451, allocations: 152.9 kB / 407.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/0.4517, allocations: 68.5 kB / 407.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.4555, allocations: 1.676 MB / 409.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.4566, allocations: 0.9988 MB / 410.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.457, allocations: 91.52 kB / 410.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4572, allocations: 69.44 kB / 410.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4572, allocations: 0 / 410.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of Templates: time 0.01327/0.4705, allocations: 5.091 MB / 415.4 MB, free: 5.375 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches