Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [: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.001065/0.001065, allocations: 197 kB / 8.54 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.224/1.224, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009641/0.0009641, allocations: 86.53 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.466e-06, allocations: 4 kB / 343.1 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08166/0.08168, allocations: 51.48 MB / 394.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.3263, allocations: 98.21 MB / 492.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3266, allocations: 83.58 kB / 492.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.07103/0.3976, allocations: 25.85 MB / 0.5066 GB, free: 6.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.597e-05/0.3977, allocations: 20.66 kB / 0.5066 GB, free: 6.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00173/0.3995, allocations: 1.131 MB / 0.5077 GB, free: 5.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3995, allocations: 8.031 kB / 0.5077 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.4001, allocations: 178.3 kB / 0.5079 GB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.4014, allocations: 0.7702 MB / 0.5087 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.4015, allocations: 32 kB / 0.5087 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4016, allocations: 59.91 kB / 0.5087 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009424/0.4025, allocations: 0.5156 MB / 0.5093 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4037, allocations: 0.7395 MB / 0.51 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.4038, allocations: 4 kB / 0.51 GB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.4038, allocations: 8.938 kB / 0.51 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4039, allocations: 24 kB / 0.51 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.4083, allocations: 3.763 MB / 0.5137 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4085, allocations: 142.2 kB / 0.5138 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.4088, allocations: 123.5 kB / 0.5139 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4088, allocations: 4.281 kB / 0.5139 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4088, allocations: 46.77 kB / 0.514 GB, free: 14.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.4088, allocations: 0 / 0.514 GB, free: 14.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001345/0.4102, allocations: 0.875 MB / 0.5148 GB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4102, allocations: 81.67 kB / 0.5149 GB, free: 13.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.4109, allocations: 0.5779 MB / 0.5155 GB, free: 12.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.411, allocations: 29.69 kB / 0.5155 GB, free: 12.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.4112, allocations: 477.4 kB / 0.516 GB, free: 12.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.4113, allocations: 134.1 kB / 0.5161 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.4113, allocations: 3.938 kB / 0.5161 GB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4115, allocations: 386.7 kB / 0.5165 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.4117, allocations: 113.6 kB / 0.5166 GB, free: 11.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.412, allocations: 412.3 kB / 0.517 GB, free: 11.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.4123, allocations: 187.8 kB / 0.5171 GB, free: 11.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4123, allocations: 4 kB / 0.5171 GB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008189/0.4132, allocations: 0.5506 MB / 0.5177 GB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4132, allocations: 8.875 kB / 0.5177 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4132, allocations: 8 kB / 0.5177 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.4133, allocations: 44.78 kB / 0.5177 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.4139, allocations: 163.7 kB / 0.5179 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008741/0.4148, allocations: 1.233 MB / 0.5191 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.4152, allocations: 32.05 kB / 0.5191 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.4153, allocations: 36 kB / 0.5192 GB, free: 8.867 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4154, allocations: 124.7 kB / 0.5193 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.4155, allocations: 79.06 kB / 0.5194 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.416, allocations: 309.4 kB / 0.5197 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4161, allocations: 8 kB / 0.5197 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4161, allocations: 0 / 0.5197 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4161, allocations: 4 kB / 0.5197 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.4175, allocations: 1.059 MB / 0.5207 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4175, allocations: 8 kB / 0.5207 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.4179, allocations: 79.89 kB / 0.5208 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.998e-05/0.4179, allocations: 25.06 kB / 0.5208 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.418, allocations: 4 kB / 0.5208 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000777/0.4188, allocations: 1.228 MB / 0.522 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4188, allocations: 0 / 0.522 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006867/0.4195, allocations: 0.6297 MB / 0.5226 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.4197, allocations: 180.1 kB / 0.5228 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.4198, allocations: 0 / 0.5228 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.4202, allocations: 27.98 kB / 0.5228 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.4203, allocations: 19.97 kB / 0.5229 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.4203, allocations: 8 kB / 0.5229 GB, free: 4.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005023/0.4208, allocations: 443.1 kB / 0.5233 GB, free: 4.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006619/0.4215, allocations: 172 kB / 0.5234 GB, free: 4.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00035/0.4218, allocations: 280.4 kB / 0.5237 GB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006338/0.4225, allocations: 438.9 kB / 0.5241 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4225, allocations: 0 / 0.5241 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.4228, allocations: 242 kB / 0.5244 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.4236, allocations: 163.5 kB / 0.5245 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.4258, allocations: 1.219 MB / 0.5257 GB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/0.4264, allocations: 1.07 MB / 0.5268 GB, free: 0.707 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4264, allocations: 0 / 0.5268 GB, free: 0.707 MB / 394.7 MB Notification: Performance of Templates: time 0.0159/0.4423, allocations: 8.078 MB / 0.5346 GB, free: 8.75 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches