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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000861/0.0008611, allocations: 106.1 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3521, allocations: 99 MB / 0.4965 GB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.3524, allocations: 88.56 kB / 0.4966 GB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2289/0.5813, allocations: 26.22 MB / 0.5222 GB, free: 90.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.247e-06/0.5814, allocations: 0 / 0.5222 GB, free: 90.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.402e-05/0.5815, allocations: 24.03 kB / 0.5222 GB, free: 90.52 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.00263/0.5841, allocations: 1.232 MB / 0.5234 GB, free: 89.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5842, allocations: 8.031 kB / 0.5234 GB, free: 89.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/0.5849, allocations: 175.4 kB / 0.5236 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.5864, allocations: 0.7981 MB / 0.5243 GB, free: 88.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.5865, allocations: 70 kB / 0.5244 GB, free: 88.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.5867, allocations: 99.91 kB / 0.5245 GB, free: 88.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.5881, allocations: 0.9229 MB / 0.5254 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.5882, allocations: 7.922 kB / 0.5254 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5883, allocations: 44 kB / 0.5255 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5883, allocations: 24 kB / 0.5255 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.5895, allocations: 0.6325 MB / 0.5261 GB, free: 86.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/0.5943, allocations: 3.959 MB / 0.53 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.5948, allocations: 350 kB / 0.5303 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.5951, allocations: 157.4 kB / 0.5304 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.5951, allocations: 4.281 kB / 0.5304 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5952, allocations: 34.83 kB / 0.5305 GB, free: 81.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/0.5952, allocations: 4 kB / 0.5305 GB, free: 81.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002078/0.5973, allocations: 1.242 MB / 0.5317 GB, free: 80.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5973, allocations: 81.11 kB / 0.5318 GB, free: 80.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.5981, allocations: 0.7862 MB / 0.5325 GB, free: 79.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.5981, allocations: 33.7 kB / 0.5326 GB, free: 79.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.5984, allocations: 0.5678 MB / 0.5331 GB, free: 78.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.5985, allocations: 130.2 kB / 0.5333 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.5985, allocations: 12 kB / 0.5333 GB, free: 78.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.5985, allocations: 333.9 kB / 0.5336 GB, free: 78.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.5988, allocations: 153.9 kB / 0.5337 GB, free: 78.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.5992, allocations: 468 kB / 0.5342 GB, free: 77.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.5998, allocations: 0.6528 MB / 0.5348 GB, free: 76.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.5998, allocations: 4 kB / 0.5348 GB, free: 76.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001007/0.6009, allocations: 0.704 MB / 0.5355 GB, free: 76.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6009, allocations: 10.66 kB / 0.5355 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6009, allocations: 12 kB / 0.5355 GB, free: 76.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.6011, allocations: 41.09 kB / 0.5356 GB, free: 76.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.6015, allocations: 167.7 kB / 0.5357 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006665/0.6022, allocations: 1.28 MB / 0.537 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.6027, allocations: 39.89 kB / 0.537 GB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.6027, allocations: 36 kB / 0.537 GB, free: 74.5 MB / 378.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 () * Number of clocked 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.0003672/0.6031, allocations: 265.6 kB / 0.5373 GB, free: 74.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.6032, allocations: 86.91 kB / 0.5374 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/0.6038, allocations: 395.2 kB / 0.5378 GB, free: 73.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6039, allocations: 4 kB / 0.5378 GB, free: 73.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6039, allocations: 0 / 0.5378 GB, free: 73.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6039, allocations: 7.984 kB / 0.5378 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.6055, allocations: 1.262 MB / 0.539 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6055, allocations: 4 kB / 0.539 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.6058, allocations: 83.88 kB / 0.5391 GB, free: 72.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.6059, allocations: 20.83 kB / 0.5391 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.6059, allocations: 12 kB / 0.5391 GB, free: 72.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005892/0.6065, allocations: 1.276 MB / 0.5404 GB, free: 70.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6065, allocations: 8 kB / 0.5404 GB, free: 70.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.6073, allocations: 0.6583 MB / 0.541 GB, free: 70.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.6075, allocations: 184.1 kB / 0.5412 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/0.6076, allocations: 12 kB / 0.5412 GB, free: 69.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.6079, allocations: 27.98 kB / 0.5412 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.608, allocations: 31.84 kB / 0.5413 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.608, allocations: 12 kB / 0.5413 GB, free: 69.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005447/0.6086, allocations: 0.5342 MB / 0.5418 GB, free: 69.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6086, allocations: 0 / 0.5418 GB, free: 69.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000729/0.6093, allocations: 223.9 kB / 0.542 GB, free: 69.13 MB / 378.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 () * Number of clocked 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.0003585/0.6097, allocations: 296.2 kB / 0.5423 GB, free: 68.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.6105, allocations: 0.5226 MB / 0.5428 GB, free: 68.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6105, allocations: 0 / 0.5428 GB, free: 68.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.6109, allocations: 280.8 kB / 0.5431 GB, free: 68.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.612, allocations: 191.2 kB / 0.5433 GB, free: 67.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.6143, allocations: 2.118 MB / 0.5453 GB, free: 65.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6146, allocations: 0.996 MB / 0.5463 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003748/0.615, allocations: 103 kB / 0.5464 GB, free: 64.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.6151, allocations: 59.44 kB / 0.5464 GB, free: 64.5 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6151, allocations: 0 / 0.5464 GB, free: 64.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01615/0.6313, allocations: 10.96 MB / 0.5572 GB, free: 53.63 MB / 378.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/jenkins1/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