Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.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 trunk/package.mo): time 0.00118/0.00118, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008973/0.0008973, allocations: 105.2 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.812e-06, allocations: 0 / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 51.48 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2774/0.3794, allocations: 82.89 MB / 477.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.3797, allocations: 78.08 kB / 477.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03632/0.4161, allocations: 15.73 MB / 493.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.4161, allocations: 12 kB / 493.3 MB, free: 13.75 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.002032/0.4182, allocations: 0.7537 MB / 494.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4182, allocations: 8.031 kB / 494.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.4209, allocations: 385.1 kB / 494.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.4214, allocations: 310.6 kB / 494.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.4215, allocations: 16 kB / 494.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4216, allocations: 35.97 kB / 494.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000944/0.4226, allocations: 0.5194 MB / 495.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007597/0.4233, allocations: 407 kB / 495.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4234, allocations: 0 / 495.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.4234, allocations: 0 / 495.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4235, allocations: 16 kB / 495.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.427, allocations: 1.895 MB / 497.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.4276, allocations: 394.5 kB / 498 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.428, allocations: 225.7 kB / 498.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.4282, allocations: 167.8 kB / 498.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.4282, allocations: 42.17 kB / 498.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.4282, allocations: 0 / 498.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001061/0.4293, allocations: 430.5 kB / 498.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4294, allocations: 67.78 kB / 498.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.4295, allocations: 150.6 kB / 499.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.4296, allocations: 25.7 kB / 499.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4297, allocations: 206 kB / 499.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.4298, allocations: 157.8 kB / 499.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.4299, allocations: 0 / 499.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.43, allocations: 336.8 kB / 499.8 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.4302, allocations: 131.1 kB / 499.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.4305, allocations: 214 kB / 0.4884 GB, free: 8.035 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.4309, allocations: 183.8 kB / 0.4886 GB, free: 7.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.431, allocations: 4 kB / 0.4886 GB, free: 7.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001048/0.432, allocations: 0.4947 MB / 0.4891 GB, free: 7.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.432, allocations: 4 kB / 0.4891 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/0.4321, allocations: 7.984 kB / 0.4891 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.4324, allocations: 74.69 kB / 0.4892 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.4329, allocations: 103.1 kB / 0.4893 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.4346, allocations: 1.545 MB / 0.4908 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.435, allocations: 47.02 kB / 0.4908 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.435, allocations: 15.31 kB / 0.4908 GB, free: 5.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 0.000124/0.4352, allocations: 116.9 kB / 0.4909 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.4352, allocations: 23.72 kB / 0.491 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.4364, allocations: 0.508 MB / 0.4915 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4364, allocations: 5.406 kB / 0.4915 GB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4364, allocations: 4 kB / 0.4915 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4364, allocations: 3.984 kB / 0.4915 GB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.4383, allocations: 1.083 MB / 0.4925 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4383, allocations: 7.906 kB / 0.4925 GB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.4387, allocations: 83.47 kB / 0.4926 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/0.439, allocations: 76.05 kB / 0.4927 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.439, allocations: 9.5 kB / 0.4927 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.4406, allocations: 1.533 MB / 0.4942 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.4407, allocations: 4 kB / 0.4942 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001313/0.442, allocations: 0.7743 MB / 0.495 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4421, allocations: 112.6 kB / 0.4951 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.4421, allocations: 4 kB / 0.4951 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.4424, allocations: 21.36 kB / 0.4951 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.4425, allocations: 28.39 kB / 0.4951 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.4426, allocations: 12 kB / 0.4951 GB, free: 1.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001095/0.4427, allocations: 120.1 kB / 0.4952 GB, free: 1.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.4433, allocations: 139.5 kB / 0.4954 GB, free: 1.391 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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.4437, allocations: 147.1 kB / 0.4955 GB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009504/0.4446, allocations: 0.5038 MB / 0.496 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4446, allocations: 0 / 0.496 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.4451, allocations: 335.6 kB / 0.4963 GB, free: 396 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4454, allocations: 9.25 kB / 0.4963 GB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4468, allocations: 0.558 MB / 0.4969 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.4474, allocations: 0.8501 MB / 0.4977 GB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4474, allocations: 0 / 0.4977 GB, free: 14.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01122/0.4586, allocations: 5.005 MB / 0.5026 GB, free: 9.988 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches