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.001085/0.001085, allocations: 178.6 kB / 8.697 MB, free: 380 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 90.48 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.794e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09782, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.4275, allocations: 80.86 MB / 443.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4278, allocations: 82.58 kB / 444 MB, free: 14.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03774/0.4655, allocations: 15.95 MB / 460 MB, free: 1.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4656, allocations: 0 / 460 MB, free: 1.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.4657, allocations: 12 kB / 460 MB, free: 1.969 MB / 330.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.001826/0.4675, allocations: 0.7523 MB / 460.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4676, allocations: 8.031 kB / 460.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/0.4703, allocations: 436.2 kB / 461.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.4708, allocations: 314.8 kB / 461.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.4708, allocations: 16 kB / 461.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.4709, allocations: 43.86 kB / 461.5 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008867/0.4718, allocations: 0.5631 MB / 462.1 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.4726, allocations: 421.3 kB / 462.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4726, allocations: 0 / 462.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.4726, allocations: 11.94 kB / 462.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4727, allocations: 16 kB / 462.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.4756, allocations: 1.964 MB / 464.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.4781, allocations: 2.963 MB / 467.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.4784, allocations: 187 kB / 467.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.4785, allocations: 85.55 kB / 467.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4785, allocations: 49.94 kB / 467.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.424e-06/0.4785, allocations: 3.938 kB / 467.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001115/0.4796, allocations: 476.4 kB / 468.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4797, allocations: 55.84 kB / 468.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4799, allocations: 166.2 kB / 468.5 MB, free: 10 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.4799, allocations: 25.7 kB / 468.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4801, allocations: 244.7 kB / 468.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4802, allocations: 155.8 kB / 468.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.4802, allocations: 0 / 468.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4804, allocations: 341.8 kB / 469.2 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4806, allocations: 128.3 kB / 469.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.4809, allocations: 240.3 kB / 469.6 MB, free: 9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.4815, allocations: 257.4 kB / 469.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4815, allocations: 7.938 kB / 469.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001135/0.4826, allocations: 0.5893 MB / 470.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4827, allocations: 8 kB / 470.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4827, allocations: 0 / 470.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.483, allocations: 93.23 kB / 470.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.4834, allocations: 107.4 kB / 470.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.4852, allocations: 1.766 MB / 472.4 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.4855, allocations: 43.61 kB / 472.4 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.4855, allocations: 27.02 kB / 472.5 MB, free: 6.449 MB / 346.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.0001324/0.4857, allocations: 127.5 kB / 472.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.4858, allocations: 27.62 kB / 472.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.4869, allocations: 0.547 MB / 473.2 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4869, allocations: 8 kB / 473.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.4869, allocations: 0 / 473.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.4869, allocations: 0 / 473.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.4885, allocations: 1.073 MB / 474.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4885, allocations: 4 kB / 474.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.4889, allocations: 83.33 kB / 474.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.4892, allocations: 79.25 kB / 474.4 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.4892, allocations: 11.83 kB / 474.4 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.4909, allocations: 1.762 MB / 476.2 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4909, allocations: 0 / 476.2 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.4922, allocations: 0.7788 MB / 477 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.4923, allocations: 120.5 kB / 477.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.4923, allocations: 0 / 477.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.4926, allocations: 16.11 kB / 477.1 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.4927, allocations: 36.39 kB / 477.1 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.4927, allocations: 12 kB / 477.1 MB, free: 2.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.4928, allocations: 136.3 kB / 477.3 MB, free: 2.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4928, allocations: 0 / 477.3 MB, free: 2.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006636/0.4935, allocations: 139.5 kB / 477.4 MB, free: 1.98 MB / 346.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.0002711/0.4938, allocations: 143.3 kB / 477.5 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00084/0.4946, allocations: 0.5203 MB / 478.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4947, allocations: 7.875 kB / 478.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.4951, allocations: 332.1 kB / 478.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.4953, allocations: 19.98 kB / 478.4 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.4986, allocations: 1.068 MB / 479.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.4991, allocations: 0.8248 MB / 480.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.4995, allocations: 51.27 kB / 480.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.4997, allocations: 31.42 kB / 480.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4997, allocations: 0 / 480.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01182/0.5115, allocations: 3.633 MB / 484 MB, free: 11.28 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