Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [: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.00107/0.00107, allocations: 178.9 kB / 8.477 MB, free: 1.879 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.26/1.26, allocations: 205.2 MB / 214.1 MB, free: 5.508 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.0008987/0.0008987, allocations: 98.19 kB / 262.1 MB, free: 5.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.147e-05, allocations: 0 / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08944, allocations: 47.57 MB / 362.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/0.3567, allocations: 80.56 MB / 443.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.357, allocations: 78.12 kB / 443.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0336/0.3906, allocations: 15.68 MB / 458.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.3906, allocations: 7.906 kB / 458.9 MB, free: 5.516 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.001553/0.3922, allocations: 0.7688 MB / 459.6 MB, free: 4.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3922, allocations: 9.375 kB / 459.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.3954, allocations: 457.9 kB / 460.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3958, allocations: 321.4 kB / 460.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.3958, allocations: 19.47 kB / 460.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.3959, allocations: 36.38 kB / 460.5 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/0.3969, allocations: 0.5791 MB / 461 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/0.3977, allocations: 440.2 kB / 461.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3977, allocations: 8.781 kB / 461.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.3978, allocations: 1.031 kB / 461.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.3978, allocations: 13.22 kB / 461.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.4008, allocations: 2.164 MB / 463.7 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.4015, allocations: 417.1 kB / 464.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.4019, allocations: 228.1 kB / 464.3 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-05/0.402, allocations: 89.78 kB / 464.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.402, allocations: 40.88 kB / 464.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.964e-06/0.402, allocations: 0 / 464.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009887/0.403, allocations: 444.8 kB / 464.9 MB, free: 2.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.4031, allocations: 64.53 kB / 464.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4032, allocations: 158.7 kB / 465.1 MB, free: 2.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.4032, allocations: 25.7 kB / 465.1 MB, free: 2.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.4033, allocations: 239.7 kB / 465.3 MB, free: 2.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.4034, allocations: 158.6 kB / 465.5 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.4034, allocations: 0 / 465.5 MB, free: 2.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.4035, allocations: 339.3 kB / 465.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.4037, allocations: 138.9 kB / 466 MB, free: 1.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.404, allocations: 269.3 kB / 466.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.4045, allocations: 196.3 kB / 466.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4045, allocations: 5.125 kB / 466.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001072/0.4056, allocations: 0.5364 MB / 466.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4056, allocations: 10.94 kB / 467 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4056, allocations: 4.125 kB / 467 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.4059, allocations: 79.34 kB / 467 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.4064, allocations: 117.6 kB / 467.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.4077, allocations: 1.542 MB / 468.7 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.4081, allocations: 52.27 kB / 468.7 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.4082, allocations: 25.38 kB / 468.8 MB, free: 248 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/0.4083, allocations: 111.7 kB / 468.9 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.4083, allocations: 24.09 kB / 468.9 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.4095, allocations: 0.5333 MB / 469.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.4095, allocations: 5.281 kB / 469.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4095, allocations: 1.375 kB / 469.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4095, allocations: 7.969 kB / 469.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4112, allocations: 1.143 MB / 470.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4112, allocations: 5.156 kB / 470.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.4116, allocations: 86.64 kB / 470.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.4119, allocations: 79.38 kB / 470.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4119, allocations: 6.75 kB / 470.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.4134, allocations: 1.528 MB / 472.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4134, allocations: 5.094 kB / 472.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001199/0.4147, allocations: 0.795 MB / 473.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.4147, allocations: 115.2 kB / 473.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.4148, allocations: 1.594 kB / 473.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.4151, allocations: 18.58 kB / 473.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.4152, allocations: 33.61 kB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.4152, allocations: 18.22 kB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.046e-05/0.4153, allocations: 125.4 kB / 473.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005697/0.4159, allocations: 145.2 kB / 473.5 MB, free: 13.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002666/0.4162, allocations: 137.2 kB / 473.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.417, allocations: 0.5258 MB / 474.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.417, allocations: 3.938 kB / 474.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.4175, allocations: 338.6 kB / 474.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.4178, allocations: 14.81 kB / 474.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.421, allocations: 1.092 MB / 475.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/0.4217, allocations: 0.8586 MB / 476.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4217, allocations: 4 kB / 476.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of Templates: time 0.009817/0.4316, allocations: 5.164 MB / 481.7 MB, free: 8.008 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches