Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_SinglePhase,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_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008924/0.0008926, allocations: 89.42 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.635e-05, allocations: 11.98 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08942, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2833/0.3728, allocations: 100.3 MB / 0.4906 GB, free: 5.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.373, allocations: 80.12 kB / 0.4906 GB, free: 5.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07396/0.447, allocations: 28.87 MB / 0.5188 GB, free: 9.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.447, allocations: 0 / 0.5188 GB, free: 9.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.732e-05/0.4471, allocations: 24 kB / 0.5189 GB, free: 9.863 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00188/0.449, allocations: 1.137 MB / 0.52 GB, free: 8.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.449, allocations: 12.03 kB / 0.52 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.4498, allocations: 202.3 kB / 0.5202 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.4513, allocations: 0.8088 MB / 0.521 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.4514, allocations: 77.95 kB / 0.521 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4516, allocations: 96 kB / 0.5211 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4531, allocations: 0.8997 MB / 0.522 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.4531, allocations: 4.562 kB / 0.522 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/0.4532, allocations: 40 kB / 0.5221 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.4533, allocations: 27.98 kB / 0.5221 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4543, allocations: 0.5975 MB / 0.5227 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.4593, allocations: 3.945 MB / 0.5265 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.46, allocations: 440.7 kB / 0.5269 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.4604, allocations: 248.8 kB / 0.5272 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.4605, allocations: 4 kB / 0.5272 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4605, allocations: 43.28 kB / 0.5272 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.4605, allocations: 3.75 kB / 0.5272 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.002032/0.4626, allocations: 1.218 MB / 0.5284 GB, free: 15.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.4626, allocations: 85.55 kB / 0.5285 GB, free: 15.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.4635, allocations: 0.7036 MB / 0.5292 GB, free: 14.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.4636, allocations: 29.7 kB / 0.5292 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.4639, allocations: 0.5682 MB / 0.5298 GB, free: 14.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4641, allocations: 169.6 kB / 0.5299 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.4641, allocations: 16 kB / 0.5299 GB, free: 14.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4642, allocations: 334 kB / 0.5303 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4645, allocations: 157.6 kB / 0.5304 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.4649, allocations: 446 kB / 0.5308 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.4653, allocations: 237.5 kB / 0.5311 GB, free: 12.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4653, allocations: 8 kB / 0.5311 GB, free: 12.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001193/0.4665, allocations: 0.7663 MB / 0.5318 GB, free: 11.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4666, allocations: 15.98 kB / 0.5318 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4666, allocations: 8 kB / 0.5318 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.4669, allocations: 93.92 kB / 0.5319 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.4674, allocations: 163.7 kB / 0.5321 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.4697, allocations: 2.997 MB / 0.535 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.4702, allocations: 35.98 kB / 0.5351 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.4703, allocations: 35.94 kB / 0.5351 GB, free: 8.363 MB / 410.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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.4704, allocations: 156.8 kB / 0.5352 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4705, allocations: 98.83 kB / 0.5353 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.4714, allocations: 0.4908 MB / 0.5358 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4714, allocations: 8 kB / 0.5358 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4714, allocations: 0 / 0.5358 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4714, allocations: 3.984 kB / 0.5358 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.4734, allocations: 1.447 MB / 0.5372 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.4734, allocations: 4 kB / 0.5372 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.4738, allocations: 84.11 kB / 0.5373 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.474, allocations: 81.67 kB / 0.5374 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.474, allocations: 8 kB / 0.5374 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.4762, allocations: 2.986 MB / 0.5403 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4762, allocations: 10.73 kB / 0.5403 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4773, allocations: 0.8757 MB / 0.5412 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.4776, allocations: 204 kB / 0.5414 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.4777, allocations: 14.06 kB / 0.5414 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.4781, allocations: 27.98 kB / 0.5414 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.4782, allocations: 39.95 kB / 0.5415 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.4782, allocations: 15.98 kB / 0.5415 GB, free: 1.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006664/0.4789, allocations: 0.5304 MB / 0.542 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4789, allocations: 0 / 0.542 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008185/0.4797, allocations: 248 kB / 0.5422 GB, free: 0.5625 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 (40): * Single equations (assignments): 38 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000396/0.4801, allocations: 304.2 kB / 0.5425 GB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009432/0.4811, allocations: 0.6755 MB / 0.5432 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4811, allocations: 0 / 0.5432 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.4817, allocations: 458.3 kB / 0.5436 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.4825, allocations: 203.6 kB / 0.5438 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.4847, allocations: 1.292 MB / 0.5451 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.4852, allocations: 1.036 MB / 0.5461 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004359/0.4857, allocations: 115.2 kB / 0.5462 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4858, allocations: 63.42 kB / 0.5463 GB, free: 12.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4858, allocations: 0 / 0.5463 GB, free: 12.32 MB / 426.7 MB Notification: Performance of Templates: time 0.02071/0.5065, allocations: 12.44 MB / 0.5584 GB, free: 28 kB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches