Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.346/1.346, allocations: 221.3 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008856, allocations: 90.06 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.553e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09599, allocations: 50.42 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4254, allocations: 82.75 MB / 477 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.4257, allocations: 79.78 kB / 477.1 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03529/0.461, allocations: 15.5 MB / 492.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.461, allocations: 0 / 492.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.4611, allocations: 8 kB / 492.6 MB, free: 5.035 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001537/0.4626, allocations: 0.7414 MB / 493.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4627, allocations: 8.031 kB / 493.3 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.4649, allocations: 359 kB / 493.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4653, allocations: 302.3 kB / 494 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.4653, allocations: 41.31 kB / 494 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.4654, allocations: 52 kB / 494.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008186/0.4662, allocations: 490.6 kB / 494.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.4663, allocations: 0 / 494.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.4663, allocations: 32 kB / 494.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4664, allocations: 12 kB / 494.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.4672, allocations: 0.5245 MB / 495.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.4698, allocations: 1.892 MB / 497 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.472, allocations: 2.161 MB / 499.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.4723, allocations: 194.2 kB / 499.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.829e-05/0.4723, allocations: 89.53 kB / 499.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.4724, allocations: 46.94 kB / 499.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.4724, allocations: 0 / 499.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008293/0.4732, allocations: 420.5 kB / 499.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4733, allocations: 55.84 kB / 500 MB, free: 13.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.4735, allocations: 170.2 kB / 0.4884 GB, free: 12.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.4735, allocations: 33.7 kB / 0.4884 GB, free: 12.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4736, allocations: 216.5 kB / 0.4886 GB, free: 12.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4737, allocations: 161.7 kB / 0.4888 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.4738, allocations: 8 kB / 0.4888 GB, free: 12.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4739, allocations: 338.8 kB / 0.4891 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.4741, allocations: 133.1 kB / 0.4893 GB, free: 11.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.4744, allocations: 208.9 kB / 0.4895 GB, free: 11.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4746, allocations: 161.6 kB / 0.4896 GB, free: 11.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4747, allocations: 0 / 0.4896 GB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008026/0.4755, allocations: 0.4964 MB / 0.4901 GB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4755, allocations: 5.562 kB / 0.4901 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4755, allocations: 4 kB / 0.4901 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.4758, allocations: 88.97 kB / 0.4902 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.4762, allocations: 95.88 kB / 0.4903 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.478, allocations: 1.847 MB / 0.4921 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.4783, allocations: 55.58 kB / 0.4921 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.4784, allocations: 16.19 kB / 0.4921 GB, free: 8.812 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001085/0.4785, allocations: 124.9 kB / 0.4923 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.4786, allocations: 27.66 kB / 0.4923 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/0.4795, allocations: 0.508 MB / 0.4928 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4795, allocations: 4 kB / 0.4928 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4795, allocations: 15.94 kB / 0.4928 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4795, allocations: 3.984 kB / 0.4928 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.4809, allocations: 1.071 MB / 0.4939 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4809, allocations: 4 kB / 0.4939 GB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.4813, allocations: 79.89 kB / 0.4939 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.4815, allocations: 88.75 kB / 0.494 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.4816, allocations: 12 kB / 0.494 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.4832, allocations: 1.835 MB / 0.4958 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4832, allocations: 0 / 0.4958 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4842, allocations: 0.7375 MB / 0.4965 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.4843, allocations: 112.6 kB / 0.4967 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.4844, allocations: 12 kB / 0.4967 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.4846, allocations: 19.98 kB / 0.4967 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.4847, allocations: 32.39 kB / 0.4967 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.4847, allocations: 15.98 kB / 0.4967 GB, free: 3.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.4848, allocations: 139.5 kB / 0.4969 GB, free: 3.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4848, allocations: 64 / 0.4969 GB, free: 3.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005524/0.4854, allocations: 155.6 kB / 0.497 GB, free: 3.57 MB / 378.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 (42): * Single equations (assignments): 41 * 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.0002492/0.4857, allocations: 167.2 kB / 0.4972 GB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.4865, allocations: 0.5306 MB / 0.4977 GB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4865, allocations: 4.375 kB / 0.4977 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.487, allocations: 361.2 kB / 0.498 GB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.4872, allocations: 16 kB / 0.4981 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.4881, allocations: 0.559 MB / 0.4986 GB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.4885, allocations: 0.8127 MB / 0.4994 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.4887, allocations: 46.95 kB / 0.4994 GB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.4888, allocations: 35.42 kB / 0.4995 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4888, allocations: 4 kB / 0.4995 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of Templates: time 0.007554/0.4963, allocations: 3.954 MB / 0.5033 GB, free: 13.03 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches