Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 78.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.161e-05, allocations: 0 / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4434, allocations: 81.29 MB / 451.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.4437, allocations: 81.89 kB / 451.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03731/0.481, allocations: 16.16 MB / 467.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.481, allocations: 0 / 467.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.4811, allocations: 8 kB / 467.6 MB, free: 13.18 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001865/0.4829, allocations: 0.7566 MB / 468.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.483, allocations: 8.031 kB / 468.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.4858, allocations: 434.9 kB / 468.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.4863, allocations: 314.4 kB / 469.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4863, allocations: 45.31 kB / 469.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.4864, allocations: 59.86 kB / 469.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.4873, allocations: 0.522 MB / 469.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.4874, allocations: 8 kB / 469.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.4875, allocations: 20 kB / 469.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4875, allocations: 12 kB / 469.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.4884, allocations: 0.5987 MB / 470.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.4913, allocations: 2.062 MB / 472.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.4938, allocations: 2.993 MB / 475.4 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.4941, allocations: 199 kB / 475.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/0.4942, allocations: 89.55 kB / 475.7 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4943, allocations: 42.98 kB / 475.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.178e-06/0.4943, allocations: 0 / 475.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008286/0.4951, allocations: 440.3 kB / 476.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.4952, allocations: 59.84 kB / 476.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4953, allocations: 179.8 kB / 476.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.4954, allocations: 29.7 kB / 476.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4955, allocations: 252 kB / 476.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4956, allocations: 165.6 kB / 476.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.4957, allocations: 12 kB / 476.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4958, allocations: 346.8 kB / 477.1 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.496, allocations: 133.1 kB / 477.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.4963, allocations: 254.1 kB / 477.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4966, allocations: 177.6 kB / 477.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4966, allocations: 0 / 477.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008508/0.4974, allocations: 0.5513 MB / 478.2 MB, free: 1.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4975, allocations: 4 kB / 478.3 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4975, allocations: 7.984 kB / 478.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.4979, allocations: 88.81 kB / 478.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.4983, allocations: 107.8 kB / 478.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.5001, allocations: 1.835 MB / 480.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.5004, allocations: 59.44 kB / 480.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.5005, allocations: 24.05 kB / 480.4 MB, free: 15.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5006, allocations: 132.9 kB / 480.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.5007, allocations: 31.66 kB / 480.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009297/0.5016, allocations: 0.5159 MB / 481 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5016, allocations: 4 kB / 481 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5017, allocations: 4 kB / 481.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.5017, allocations: 7.938 kB / 481.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.5032, allocations: 1.099 MB / 482.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5032, allocations: 7.938 kB / 482.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.5035, allocations: 91.83 kB / 482.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.5038, allocations: 80.81 kB / 482.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.5038, allocations: 15.94 kB / 482.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.5055, allocations: 1.835 MB / 484.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5055, allocations: 0 / 484.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5066, allocations: 0.753 MB / 484.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.5067, allocations: 112.7 kB / 485 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.5067, allocations: 8.125 kB / 485.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.5069, allocations: 20 kB / 485.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.507, allocations: 40.38 kB / 485.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.5071, allocations: 15.98 kB / 485.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5072, allocations: 144.2 kB / 485.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5072, allocations: 0 / 485.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006092/0.5078, allocations: 171.5 kB / 485.4 MB, free: 9.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.5081, allocations: 155.9 kB / 485.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.5089, allocations: 0.558 MB / 486.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.509, allocations: 0 / 486.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.5094, allocations: 373.5 kB / 486.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.5097, allocations: 24.31 kB / 486.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.5127, allocations: 1.094 MB / 487.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5131, allocations: 0.8254 MB / 488.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.5134, allocations: 51.25 kB / 488.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.5135, allocations: 27.44 kB / 488.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5135, allocations: 0 / 488.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of Templates: time 0.008203/0.5217, allocations: 4.021 MB / 492.6 MB, free: 2.789 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches