Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [: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.001101/0.001101, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008847/0.0008848, allocations: 99.66 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.294e-06, allocations: 4 kB / 343.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08231, allocations: 51.47 MB / 394.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.2921, allocations: 95.06 MB / 489.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.2923, allocations: 78.73 kB / 489.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.06331/0.3556, allocations: 23.54 MB / 0.5013 GB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.625e-05/0.3557, allocations: 16 kB / 0.5013 GB, free: 11.49 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001663/0.3574, allocations: 1.025 MB / 0.5023 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3574, allocations: 8.031 kB / 0.5023 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.3582, allocations: 198.5 kB / 0.5025 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3595, allocations: 0.6703 MB / 0.5031 GB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.3595, allocations: 32 kB / 0.5032 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3596, allocations: 54.91 kB / 0.5032 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008546/0.3605, allocations: 443.3 kB / 0.5036 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3617, allocations: 0.6663 MB / 0.5043 GB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.3618, allocations: 7.906 kB / 0.5043 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.3618, allocations: 4 kB / 0.5043 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.3618, allocations: 20 kB / 0.5043 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.3661, allocations: 3.479 MB / 0.5077 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3664, allocations: 141.9 kB / 0.5079 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.3665, allocations: 96.97 kB / 0.508 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3665, allocations: 4 kB / 0.508 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3666, allocations: 30.56 kB / 0.508 GB, free: 4.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/0.3666, allocations: 4 kB / 0.508 GB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001267/0.3679, allocations: 0.778 MB / 0.5087 GB, free: 4.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3679, allocations: 85.05 kB / 0.5088 GB, free: 4.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.3686, allocations: 0.519 MB / 0.5093 GB, free: 3.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3686, allocations: 25.7 kB / 0.5094 GB, free: 3.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.3688, allocations: 441.6 kB / 0.5098 GB, free: 3.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.3689, allocations: 102.5 kB / 0.5099 GB, free: 2.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.369, allocations: 4 kB / 0.5099 GB, free: 2.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3691, allocations: 374.8 kB / 0.5102 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3693, allocations: 93.31 kB / 0.5103 GB, free: 2.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.3696, allocations: 380.9 kB / 0.5107 GB, free: 1.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.3699, allocations: 167.1 kB / 0.5109 GB, free: 1.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3699, allocations: 4 kB / 0.5109 GB, free: 1.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008115/0.3707, allocations: 0.4976 MB / 0.5113 GB, free: 1.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3707, allocations: 4 kB / 0.5113 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3707, allocations: 12 kB / 0.5114 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.3709, allocations: 37.47 kB / 0.5114 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.3714, allocations: 147.8 kB / 0.5115 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008938/0.3723, allocations: 1.244 MB / 0.5127 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.3728, allocations: 32.02 kB / 0.5128 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.3728, allocations: 32 kB / 0.5128 GB, free: 15.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001176/0.3729, allocations: 128.7 kB / 0.5129 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.373, allocations: 67.16 kB / 0.513 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.3735, allocations: 265 kB / 0.5132 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3735, allocations: 11.91 kB / 0.5133 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3735, allocations: 0 / 0.5133 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3735, allocations: 0 / 0.5133 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.3748, allocations: 0.9305 MB / 0.5142 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3748, allocations: 0 / 0.5142 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.3752, allocations: 71.89 kB / 0.5142 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-05/0.3752, allocations: 25.06 kB / 0.5143 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.3753, allocations: 8 kB / 0.5143 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007716/0.3761, allocations: 1.225 MB / 0.5155 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3761, allocations: 11.94 kB / 0.5155 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006449/0.3767, allocations: 0.5814 MB / 0.516 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.3769, allocations: 160.3 kB / 0.5162 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/0.377, allocations: 7.906 kB / 0.5162 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3774, allocations: 19.98 kB / 0.5162 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3774, allocations: 23.97 kB / 0.5162 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.3775, allocations: 12 kB / 0.5163 GB, free: 11.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004407/0.3779, allocations: 391.2 kB / 0.5166 GB, free: 11.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000612/0.3785, allocations: 159.9 kB / 0.5168 GB, free: 11.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.0003483/0.3789, allocations: 287.2 kB / 0.5171 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.3795, allocations: 405.3 kB / 0.5174 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3795, allocations: 0 / 0.5174 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.3798, allocations: 213.9 kB / 0.5176 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.3805, allocations: 158.4 kB / 0.5178 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3823, allocations: 1.027 MB / 0.5188 GB, free: 9.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.383, allocations: 1.021 MB / 0.5198 GB, free: 8.133 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.383, allocations: 0 / 0.5198 GB, free: 8.133 MB / 394.7 MB Notification: Performance of Templates: time 0.01421/0.3972, allocations: 7.495 MB / 0.5271 GB, free: 0.7461 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches