Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001283, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008274/0.0008273, allocations: 89.88 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.456e-05, allocations: 8 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.4026, allocations: 80.15 MB / 482.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.4028, allocations: 77.23 kB / 482.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.4156, allocations: 5.154 MB / 487.4 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4156, allocations: 0 / 487.4 MB, free: 4.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.4156, allocations: 4 kB / 487.4 MB, free: 4.934 MB / 346.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.0006869/0.4163, allocations: 0.5396 MB / 487.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.4164, allocations: 12.03 kB / 488 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.4165, allocations: 40.38 kB / 488 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.4167, allocations: 261 kB / 488.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.4168, allocations: 20.41 kB / 488.3 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.4168, allocations: 35.38 kB / 488.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.4172, allocations: 256.1 kB / 488.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4172, allocations: 0 / 488.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4172, allocations: 11.69 kB / 488.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4173, allocations: 8 kB / 488.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.4175, allocations: 176.4 kB / 488.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.4188, allocations: 1.018 MB / 489.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.419, allocations: 144.9 kB / 489.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.4191, allocations: 59.55 kB / 490 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.4191, allocations: 7.484 kB / 490 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.4191, allocations: 38.56 kB / 490 MB, free: 2.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.4191, allocations: 4 kB / 490 MB, free: 2.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002371/0.4194, allocations: 144.8 kB / 490.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.4194, allocations: 51.41 kB / 490.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4196, allocations: 182.4 kB / 490.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.4196, allocations: 29.7 kB / 490.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.4197, allocations: 192.9 kB / 490.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.4197, allocations: 58.55 kB / 490.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.4197, allocations: 3.562 kB / 490.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.4198, allocations: 341.6 kB / 491 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.4198, allocations: 49.94 kB / 491 MB, free: 1.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.4199, allocations: 95.56 kB / 491.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.4201, allocations: 65.17 kB / 491.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4201, allocations: 0 / 491.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002659/0.4203, allocations: 213 kB / 491.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4204, allocations: 4 kB / 491.4 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4204, allocations: 7.938 kB / 491.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4204, allocations: 4 kB / 491.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.4207, allocations: 67.72 kB / 491.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4207, allocations: 5.953 kB / 491.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.4209, allocations: 35.11 kB / 491.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4209, allocations: 4.75 kB / 491.5 MB, free: 1.219 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 5.638e-05/0.4209, allocations: 119.9 kB / 491.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.421, allocations: 19.81 kB / 491.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.4212, allocations: 166.2 kB / 491.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4213, allocations: 8 kB / 491.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4213, allocations: 0 / 491.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4213, allocations: 0 / 491.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.4215, allocations: 322.6 kB / 492.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4216, allocations: 3.188 kB / 492.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.4218, allocations: 51.66 kB / 492.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4218, allocations: 7.953 kB / 492.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4218, allocations: 3.688 kB / 492.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4219, allocations: 0 / 492.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4219, allocations: 4 kB / 492.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4221, allocations: 306.2 kB / 492.5 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.4222, allocations: 96.86 kB / 492.6 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4222, allocations: 7.766 kB / 492.6 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4224, allocations: 19.36 kB / 492.6 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4224, allocations: 23.09 kB / 492.7 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4225, allocations: 7.297 kB / 492.7 MB, free: 164 kB / 346.7 MB Notification: Performance of sorting global known variables: time 8.949e-05/0.4226, allocations: 148.7 kB / 492.8 MB, free: 40 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4226, allocations: 0 / 492.8 MB, free: 40 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.4229, allocations: 77.17 kB / 492.9 MB, free: 15.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000134/0.423, allocations: 118.6 kB / 493 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.4233, allocations: 134.1 kB / 493.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4233, allocations: 8.188 kB / 493.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.4234, allocations: 62.75 kB / 493.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.4236, allocations: 29.97 kB / 493.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.4246, allocations: 0.6789 MB / 493.9 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4249, allocations: 0.7716 MB / 494.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.53e-05/0.425, allocations: 22.08 kB / 494.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.4251, allocations: 23.42 kB / 494.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4251, allocations: 0 / 494.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of Templates: time 0.00437/0.4295, allocations: 1.786 MB / 496.5 MB, free: 12.43 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches