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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009737/0.000974, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008497/0.0008496, allocations: 101 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002211/0.0002212, allocations: 8 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1857, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.2881, allocations: 99.47 MB / 0.497 GB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.2883, allocations: 87.95 kB / 0.497 GB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2304/0.5188, allocations: 28.28 MB / 0.5247 GB, free: 86.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5188, allocations: 0 / 0.5247 GB, free: 86.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.513e-05/0.5189, allocations: 20 kB / 0.5247 GB, free: 86.97 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.002184/0.5211, allocations: 1.262 MB / 0.5259 GB, free: 85.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5211, allocations: 11.97 kB / 0.5259 GB, free: 85.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.5218, allocations: 190.4 kB / 0.5261 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.5231, allocations: 0.7958 MB / 0.5269 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.5232, allocations: 77.98 kB / 0.527 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5233, allocations: 96 kB / 0.527 GB, free: 84.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5247, allocations: 0.9268 MB / 0.528 GB, free: 83.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.5248, allocations: 7.906 kB / 0.528 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.5248, allocations: 40 kB / 0.528 GB, free: 83.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.5249, allocations: 27.95 kB / 0.528 GB, free: 83.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5259, allocations: 0.6403 MB / 0.5287 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.53, allocations: 3.911 MB / 0.5325 GB, free: 78.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.5305, allocations: 461.6 kB / 0.5329 GB, free: 78.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.5306, allocations: 4 kB / 0.5329 GB, free: 78.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.5306, allocations: 42.45 kB / 0.533 GB, free: 78.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.5306, allocations: 4 kB / 0.533 GB, free: 78.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002274/0.5329, allocations: 1.441 MB / 0.5344 GB, free: 76.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.5329, allocations: 81.55 kB / 0.5344 GB, free: 76.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.5337, allocations: 0.6995 MB / 0.5351 GB, free: 75.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.5337, allocations: 33.7 kB / 0.5352 GB, free: 75.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.534, allocations: 0.5562 MB / 0.5357 GB, free: 75.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.534, allocations: 165.5 kB / 0.5359 GB, free: 75.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.5341, allocations: 16 kB / 0.5359 GB, free: 75.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.5341, allocations: 337.9 kB / 0.5362 GB, free: 74.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.5344, allocations: 173.9 kB / 0.5364 GB, free: 74.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.5348, allocations: 468 kB / 0.5368 GB, free: 73.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.5352, allocations: 252.3 kB / 0.537 GB, free: 73.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5352, allocations: 4 kB / 0.5371 GB, free: 73.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001116/0.5363, allocations: 0.778 MB / 0.5378 GB, free: 72.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5363, allocations: 8 kB / 0.5378 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.5363, allocations: 12 kB / 0.5378 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.5366, allocations: 85.67 kB / 0.5379 GB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.537, allocations: 164 kB / 0.5381 GB, free: 72.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.5386, allocations: 2.931 MB / 0.5409 GB, free: 69.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.5391, allocations: 39.89 kB / 0.541 GB, free: 69.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.5392, allocations: 32 kB / 0.541 GB, free: 69.4 MB / 378.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 () * Number of clocked 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.5396, allocations: 261.6 kB / 0.5412 GB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5397, allocations: 94.97 kB / 0.5413 GB, free: 69.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.5405, allocations: 0.5065 MB / 0.5418 GB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5405, allocations: 8 kB / 0.5418 GB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5405, allocations: 4 kB / 0.5418 GB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5405, allocations: 3.984 kB / 0.5419 GB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.5422, allocations: 1.419 MB / 0.5432 GB, free: 67.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5422, allocations: 4.031 kB / 0.5432 GB, free: 67.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.5426, allocations: 79.89 kB / 0.5433 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.5427, allocations: 73.58 kB / 0.5434 GB, free: 66.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.5428, allocations: 12 kB / 0.5434 GB, free: 66.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.5443, allocations: 2.915 MB / 0.5462 GB, free: 63.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5443, allocations: 11.92 kB / 0.5463 GB, free: 63.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.5453, allocations: 0.8752 MB / 0.5471 GB, free: 62.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.5455, allocations: 196 kB / 0.5473 GB, free: 62.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.5457, allocations: 8 kB / 0.5473 GB, free: 62.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.5461, allocations: 35.98 kB / 0.5473 GB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.5462, allocations: 39.84 kB / 0.5474 GB, free: 62.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5462, allocations: 15.98 kB / 0.5474 GB, free: 62.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005506/0.5467, allocations: 0.5303 MB / 0.5479 GB, free: 61.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5467, allocations: 0 / 0.5479 GB, free: 61.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008274/0.5476, allocations: 243.9 kB / 0.5481 GB, free: 61.61 MB / 378.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 () * Number of clocked 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003547/0.5479, allocations: 315.3 kB / 0.5484 GB, free: 61.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.5489, allocations: 0.7074 MB / 0.5491 GB, free: 60.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5489, allocations: 0 / 0.5491 GB, free: 60.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.5495, allocations: 461.9 kB / 0.5496 GB, free: 60.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.5503, allocations: 208.5 kB / 0.5498 GB, free: 59.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5527, allocations: 2.105 MB / 0.5518 GB, free: 57.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.5531, allocations: 1.036 MB / 0.5528 GB, free: 56.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.5535, allocations: 107.3 kB / 0.5529 GB, free: 56.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5537, allocations: 59.44 kB / 0.553 GB, free: 56.53 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5537, allocations: 0 / 0.553 GB, free: 56.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01682/0.5705, allocations: 11.86 MB / 0.5646 GB, free: 44.79 MB / 378.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