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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009931/0.000993, allocations: 174.9 kB / 8.474 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.2 MB / 214.1 MB, free: 5.434 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.0009369/0.000937, allocations: 91.33 kB / 262.1 MB, free: 5.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.111e-06, allocations: 0 / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08468, allocations: 47.57 MB / 362.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.3662, allocations: 80.55 MB / 443.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.3664, allocations: 74.42 kB / 443.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0346/0.401, allocations: 15.61 MB / 458.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.401, allocations: 7.906 kB / 458.8 MB, free: 5.449 MB / 314.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.001707/0.4028, allocations: 0.7592 MB / 459.5 MB, free: 4.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4028, allocations: 8.875 kB / 459.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.4059, allocations: 465.7 kB / 460 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.4064, allocations: 315.9 kB / 460.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.4064, allocations: 19.44 kB / 460.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.4065, allocations: 35.84 kB / 460.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/0.4077, allocations: 0.5617 MB / 460.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.4085, allocations: 424.4 kB / 461.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.4086, allocations: 5.094 kB / 461.4 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.4086, allocations: 4 kB / 461.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.4087, allocations: 13.91 kB / 461.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.4118, allocations: 2.126 MB / 463.5 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.4127, allocations: 438.5 kB / 463.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.4131, allocations: 172.3 kB / 464.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.301e-05/0.4132, allocations: 97.66 kB / 464.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4132, allocations: 36.62 kB / 464.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.928e-06/0.4132, allocations: 0.5 kB / 464.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001269/0.4145, allocations: 453.7 kB / 464.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.4145, allocations: 56.12 kB / 464.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4147, allocations: 159 kB / 464.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4147, allocations: 26.95 kB / 464.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.4148, allocations: 244.3 kB / 465.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.4149, allocations: 160.8 kB / 465.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.415, allocations: 0 / 465.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.415, allocations: 340.1 kB / 465.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4153, allocations: 140.1 kB / 465.8 MB, free: 1.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.4156, allocations: 254.6 kB / 466 MB, free: 1.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.4161, allocations: 198.6 kB / 466.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4161, allocations: 1.562 kB / 466.2 MB, free: 1.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00109/0.4172, allocations: 0.5455 MB / 466.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4172, allocations: 6.625 kB / 466.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4173, allocations: 3.281 kB / 466.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.4176, allocations: 95.36 kB / 466.9 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.4181, allocations: 108 kB / 467 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.4198, allocations: 1.725 MB / 468.7 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.4201, allocations: 48.08 kB / 468.7 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.4202, allocations: 19.5 kB / 468.8 MB, free: 72 kB / 314.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.0001407/0.4203, allocations: 120.4 kB / 468.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.4204, allocations: 28.08 kB / 468.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.4216, allocations: 0.5201 MB / 469.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4216, allocations: 5.219 kB / 469.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4217, allocations: 5.797 kB / 469.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4217, allocations: 4.828 kB / 469.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.4234, allocations: 1.093 MB / 470.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4235, allocations: 0 / 470.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.4239, allocations: 81.22 kB / 470.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.4242, allocations: 91 kB / 470.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.4242, allocations: 6.203 kB / 470.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.4261, allocations: 1.734 MB / 472.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4261, allocations: 0 / 472.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00127/0.4273, allocations: 0.7551 MB / 473.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4275, allocations: 116.1 kB / 473.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.4275, allocations: 1.5 kB / 473.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.4278, allocations: 14.36 kB / 473.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.4279, allocations: 27.23 kB / 473.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.4279, allocations: 14.28 kB / 473.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001229/0.4281, allocations: 133.6 kB / 473.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000728/0.4288, allocations: 144.4 kB / 473.6 MB, free: 13.33 MB / 330.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.00026/0.4291, allocations: 132.2 kB / 473.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.43, allocations: 0.5247 MB / 474.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.43, allocations: 0 / 474.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.4305, allocations: 340.1 kB / 474.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4307, allocations: 8.188 kB / 474.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.4339, allocations: 1.084 MB / 475.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.4344, allocations: 0.8575 MB / 476.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4345, allocations: 0 / 476.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of Templates: time 0.009946/0.4444, allocations: 5.152 MB / 481.7 MB, free: 7.898 MB / 330.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