Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0024/0.0024, allocations: 176.7 kB / 8.151 MB, free: 2.207 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.703/1.703, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001325/0.001325, allocations: 90.14 kB / 261.8 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.439e-05, allocations: 4 kB / 314.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 47.55 MB / 361.8 MB, free: 45.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.376, allocations: 80.56 MB / 442.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.3764, allocations: 83.89 kB / 442.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06249/0.4389, allocations: 15.68 MB / 458.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.439, allocations: 8 kB / 458.2 MB, free: 5.406 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.00254/0.4415, allocations: 0.7636 MB / 458.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4416, allocations: 19.97 kB / 459 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.4467, allocations: 462.9 kB / 459.4 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.4474, allocations: 315.8 kB / 459.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.4475, allocations: 20 kB / 459.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4476, allocations: 40 kB / 459.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001784/0.4494, allocations: 0.5727 MB / 460.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4507, allocations: 442.1 kB / 460.8 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.4508, allocations: 15.83 kB / 460.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.4509, allocations: 0 / 460.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.4509, allocations: 12 kB / 460.8 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005858/0.4568, allocations: 2.153 MB / 463 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.458, allocations: 425.6 kB / 463.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/0.4586, allocations: 226.1 kB / 463.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.4588, allocations: 93.53 kB / 463.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4588, allocations: 39 kB / 463.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.226e-06/0.4589, allocations: 0 / 463.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001769/0.4606, allocations: 435.7 kB / 464.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.4607, allocations: 59.78 kB / 464.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.461, allocations: 165.5 kB / 464.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.461, allocations: 29.69 kB / 464.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4612, allocations: 302.4 kB / 464.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.4614, allocations: 157.7 kB / 464.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.4614, allocations: 0 / 464.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4616, allocations: 334.7 kB / 465.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4621, allocations: 141.3 kB / 465.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.4626, allocations: 260.4 kB / 465.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.4634, allocations: 204.7 kB / 465.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4635, allocations: 0 / 465.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001958/0.4654, allocations: 0.5307 MB / 466.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4655, allocations: 11.44 kB / 466.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.4655, allocations: 9.219 kB / 466.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/0.466, allocations: 72.27 kB / 466.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.4669, allocations: 119.7 kB / 466.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.4695, allocations: 1.557 MB / 468.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.4702, allocations: 35.67 kB / 468.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.4702, allocations: 28 kB / 468.1 MB, free: 10.96 MB / 362.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 {(3,66.7%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.4704, allocations: 45.42 kB / 468.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4705, allocations: 27.72 kB / 468.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.4726, allocations: 0.519 MB / 468.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4727, allocations: 4 kB / 468.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.4727, allocations: 4 kB / 468.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4727, allocations: 7.844 kB / 468.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.476, allocations: 1.155 MB / 469.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.4761, allocations: 5.406 kB / 469.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.4769, allocations: 83.89 kB / 470 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.4774, allocations: 80.88 kB / 470.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.4775, allocations: 4 kB / 470.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.4799, allocations: 1.533 MB / 471.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4799, allocations: 0 / 471.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002265/0.4822, allocations: 0.7977 MB / 472.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4824, allocations: 120.6 kB / 472.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.4825, allocations: 0 / 472.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.483, allocations: 20.05 kB / 472.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4831, allocations: 28.39 kB / 472.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.4832, allocations: 16 kB / 472.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002014/0.4834, allocations: 128.3 kB / 472.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007947/0.4842, allocations: 148.7 kB / 472.8 MB, free: 5.984 MB / 362.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.0003277/0.4845, allocations: 131.2 kB / 473 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.4861, allocations: 0.536 MB / 473.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4861, allocations: 0 / 473.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.487, allocations: 343.1 kB / 473.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4874, allocations: 9.062 kB / 473.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.4924, allocations: 1.122 MB / 475 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.4932, allocations: 0.8636 MB / 475.8 MB, free: 2.895 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4932, allocations: 4 kB / 475.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of Templates: time 0.01474/0.5079, allocations: 6.78 MB / 482.6 MB, free: 12.13 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches