Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001072/0.001072, allocations: 202.5 kB / 8.542 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000893/0.0008931, allocations: 92.62 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.366e-06, allocations: 4 kB / 343.2 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08306/0.08309, allocations: 51.47 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.3162, allocations: 98.66 MB / 493.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.3164, allocations: 83.2 kB / 493.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.07209/0.3885, allocations: 27.79 MB / 0.5089 GB, free: 4.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.3886, allocations: 20 kB / 0.509 GB, free: 4.191 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001625/0.3902, allocations: 1.141 MB / 0.5101 GB, free: 3.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3903, allocations: 8.031 kB / 0.5101 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.3909, allocations: 190.4 kB / 0.5103 GB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3923, allocations: 0.7925 MB / 0.511 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.3923, allocations: 32 kB / 0.5111 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3925, allocations: 63.89 kB / 0.5111 GB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009902/0.3935, allocations: 0.5312 MB / 0.5116 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3947, allocations: 0.7518 MB / 0.5124 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.3948, allocations: 4.656 kB / 0.5124 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/0.3948, allocations: 0 / 0.5124 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.3948, allocations: 24 kB / 0.5124 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.3995, allocations: 3.742 MB / 0.5161 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.3998, allocations: 189.8 kB / 0.5162 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.4003, allocations: 257.7 kB / 0.5165 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4003, allocations: 7.938 kB / 0.5165 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4003, allocations: 38.56 kB / 0.5165 GB, free: 12.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.923e-06/0.4003, allocations: 0 / 0.5165 GB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.001875/0.4022, allocations: 1.111 MB / 0.5176 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4023, allocations: 81.55 kB / 0.5177 GB, free: 10.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.403, allocations: 0.578 MB / 0.5183 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.403, allocations: 29.7 kB / 0.5183 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.4033, allocations: 473.6 kB / 0.5187 GB, free: 9.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.4034, allocations: 161.7 kB / 0.5189 GB, free: 9.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.4034, allocations: 0 / 0.5189 GB, free: 9.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4036, allocations: 386.8 kB / 0.5193 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4038, allocations: 133.6 kB / 0.5194 GB, free: 9.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.4042, allocations: 427.3 kB / 0.5198 GB, free: 8.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.4045, allocations: 212.6 kB / 0.52 GB, free: 8.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4045, allocations: 4 kB / 0.52 GB, free: 8.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001046/0.4056, allocations: 0.6798 MB / 0.5207 GB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4056, allocations: 4 kB / 0.5207 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4056, allocations: 12 kB / 0.5207 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.4059, allocations: 93.67 kB / 0.5208 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.4065, allocations: 159.9 kB / 0.5209 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.4088, allocations: 2.898 MB / 0.5238 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.4093, allocations: 24.17 kB / 0.5238 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.4094, allocations: 32 kB / 0.5238 GB, free: 4.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.4095, allocations: 140.6 kB / 0.5239 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4096, allocations: 79.06 kB / 0.524 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.4104, allocations: 444.8 kB / 0.5244 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4104, allocations: 7.938 kB / 0.5244 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4105, allocations: 7.969 kB / 0.5245 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4105, allocations: 8 kB / 0.5245 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4123, allocations: 1.259 MB / 0.5257 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4123, allocations: 4 kB / 0.5257 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.4126, allocations: 80.03 kB / 0.5258 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/0.4129, allocations: 85.66 kB / 0.5259 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4129, allocations: 8 kB / 0.5259 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.4153, allocations: 2.882 MB / 0.5287 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4153, allocations: 4.062 kB / 0.5287 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001065/0.4164, allocations: 0.8123 MB / 0.5295 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.4166, allocations: 184.1 kB / 0.5297 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4167, allocations: 4 kB / 0.5297 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.4172, allocations: 27.98 kB / 0.5297 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.4172, allocations: 27.86 kB / 0.5297 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.4173, allocations: 20 kB / 0.5297 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005428/0.4178, allocations: 435.2 kB / 0.5301 GB, free: 13.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008343/0.4187, allocations: 196 kB / 0.5303 GB, free: 13.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003551/0.419, allocations: 268.3 kB / 0.5306 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009648/0.42, allocations: 0.6293 MB / 0.5312 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.42, allocations: 0.8125 kB / 0.5312 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.4206, allocations: 403.6 kB / 0.5316 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.4214, allocations: 172 kB / 0.5317 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.4238, allocations: 1.223 MB / 0.5329 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.4245, allocations: 1.089 MB / 0.534 GB, free: 9.184 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4245, allocations: 0 / 0.534 GB, free: 9.184 MB / 410.7 MB Notification: Performance of Templates: time 0.01706/0.4415, allocations: 9.295 MB / 0.5431 GB, free: 20 kB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches