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.001399/0.001399, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 227.2 MB / 245 MB, free: 7.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009117/0.0009118, allocations: 103.1 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001975/0.0001975, allocations: 8 kB / 357.9 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1825, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.2843, allocations: 99.02 MB / 0.4965 GB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.2846, allocations: 83.95 kB / 0.4966 GB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2081/0.4927, allocations: 26.34 MB / 0.5223 GB, free: 89.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4927, allocations: 0 / 0.5223 GB, free: 89.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.029e-05/0.4928, allocations: 20 kB / 0.5223 GB, free: 89 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.002003/0.4948, allocations: 1.234 MB / 0.5235 GB, free: 87.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.4949, allocations: 8.031 kB / 0.5236 GB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/0.4954, allocations: 178.4 kB / 0.5237 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.4967, allocations: 0.7646 MB / 0.5245 GB, free: 86.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4967, allocations: 74 kB / 0.5245 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4969, allocations: 100 kB / 0.5246 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.4982, allocations: 0.915 MB / 0.5255 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.4983, allocations: 7.906 kB / 0.5255 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.4984, allocations: 47.89 kB / 0.5256 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.4984, allocations: 24 kB / 0.5256 GB, free: 85.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4995, allocations: 0.6363 MB / 0.5262 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.5035, allocations: 3.94 MB / 0.5301 GB, free: 80.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.504, allocations: 360.3 kB / 0.5304 GB, free: 80.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.504, allocations: 4.281 kB / 0.5304 GB, free: 80.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.5041, allocations: 34.84 kB / 0.5305 GB, free: 80.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.5041, allocations: 0 / 0.5305 GB, free: 80.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001903/0.506, allocations: 1.244 MB / 0.5317 GB, free: 79.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.506, allocations: 85.11 kB / 0.5317 GB, free: 78.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.5067, allocations: 0.6956 MB / 0.5324 GB, free: 78.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5068, allocations: 29.7 kB / 0.5325 GB, free: 78.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.507, allocations: 0.5638 MB / 0.533 GB, free: 77.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.5071, allocations: 134.1 kB / 0.5331 GB, free: 77.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.5071, allocations: 16 kB / 0.5332 GB, free: 77.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.5072, allocations: 337.9 kB / 0.5335 GB, free: 77.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.5074, allocations: 153.9 kB / 0.5336 GB, free: 76.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.5078, allocations: 467.9 kB / 0.5341 GB, free: 76.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.5081, allocations: 229.5 kB / 0.5343 GB, free: 76.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5082, allocations: 7.938 kB / 0.5343 GB, free: 76.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009302/0.5091, allocations: 0.7041 MB / 0.535 GB, free: 75.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5091, allocations: 12 kB / 0.535 GB, free: 75.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5091, allocations: 8 kB / 0.535 GB, free: 75.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.5093, allocations: 36.84 kB / 0.535 GB, free: 75.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.5097, allocations: 163.7 kB / 0.5352 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/0.5104, allocations: 1.299 MB / 0.5365 GB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.5108, allocations: 48.14 kB / 0.5365 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.5109, allocations: 32 kB / 0.5365 GB, free: 73.7 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.0002734/0.5111, allocations: 257.5 kB / 0.5368 GB, free: 73.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.5112, allocations: 79.06 kB / 0.5369 GB, free: 73.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.5118, allocations: 398.1 kB / 0.5372 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5118, allocations: 7.953 kB / 0.5372 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.5118, allocations: 0 / 0.5372 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5119, allocations: 3.984 kB / 0.5372 GB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.5133, allocations: 1.274 MB / 0.5385 GB, free: 71.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5133, allocations: 0 / 0.5385 GB, free: 71.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.5136, allocations: 71.91 kB / 0.5386 GB, free: 71.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-05/0.5137, allocations: 29.06 kB / 0.5386 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.5137, allocations: 8 kB / 0.5386 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005347/0.5142, allocations: 1.284 MB / 0.5398 GB, free: 70.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5143, allocations: 4.031 kB / 0.5399 GB, free: 70.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.5151, allocations: 0.7365 MB / 0.5406 GB, free: 69.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5153, allocations: 188.2 kB / 0.5408 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.5154, allocations: 11.95 kB / 0.5408 GB, free: 69.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.5157, allocations: 27.97 kB / 0.5408 GB, free: 69.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.5158, allocations: 27.91 kB / 0.5408 GB, free: 68.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.5158, allocations: 12 kB / 0.5408 GB, free: 68.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005196/0.5163, allocations: 0.5303 MB / 0.5413 GB, free: 68.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5163, allocations: 0 / 0.5413 GB, free: 68.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006681/0.517, allocations: 228 kB / 0.5416 GB, free: 68.22 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.0003653/0.5174, allocations: 297.5 kB / 0.5418 GB, free: 67.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.5181, allocations: 0.5225 MB / 0.5424 GB, free: 67.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5181, allocations: 1.938 kB / 0.5424 GB, free: 67.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.5185, allocations: 278.9 kB / 0.5426 GB, free: 67.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.5193, allocations: 207.8 kB / 0.5428 GB, free: 66.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.5215, allocations: 2.084 MB / 0.5449 GB, free: 64.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.5219, allocations: 1.016 MB / 0.5459 GB, free: 63.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.5223, allocations: 103 kB / 0.5459 GB, free: 63.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5224, allocations: 55.42 kB / 0.546 GB, free: 63.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5224, allocations: 4 kB / 0.546 GB, free: 63.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01551/0.5379, allocations: 10.77 MB / 0.5565 GB, free: 52.92 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/jenkins/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