Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000933/0.0009332, allocations: 202.8 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007695/0.0007696, allocations: 94.53 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 11.98 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1821, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.2845, allocations: 99 MB / 0.4958 GB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.2848, allocations: 87.95 kB / 0.4959 GB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2093/0.4941, allocations: 26.22 MB / 0.5215 GB, free: 90.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4942, allocations: 0 / 0.5215 GB, free: 90.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.565e-05/0.4942, allocations: 27.97 kB / 0.5215 GB, free: 90.64 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.002189/0.4964, allocations: 1.225 MB / 0.5227 GB, free: 89.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4965, allocations: 12.03 kB / 0.5227 GB, free: 89.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.4971, allocations: 171.4 kB / 0.5229 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.4985, allocations: 0.798 MB / 0.5236 GB, free: 88.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.4986, allocations: 77.94 kB / 0.5237 GB, free: 88.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.4988, allocations: 99.91 kB / 0.5238 GB, free: 88.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.5002, allocations: 0.919 MB / 0.5247 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.5003, allocations: 7.938 kB / 0.5247 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.5004, allocations: 44 kB / 0.5248 GB, free: 87.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.5004, allocations: 24 kB / 0.5248 GB, free: 87.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5015, allocations: 0.6286 MB / 0.5254 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.5056, allocations: 3.951 MB / 0.5293 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.5061, allocations: 362 kB / 0.5296 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.5063, allocations: 149.4 kB / 0.5297 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.5064, allocations: 4.281 kB / 0.5297 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.5064, allocations: 46.83 kB / 0.5298 GB, free: 81.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.5064, allocations: 0 / 0.5298 GB, free: 81.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001941/0.5084, allocations: 1.234 MB / 0.531 GB, free: 80.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.5084, allocations: 81.11 kB / 0.5311 GB, free: 80.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.5092, allocations: 0.7823 MB / 0.5318 GB, free: 79.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.5093, allocations: 37.7 kB / 0.5319 GB, free: 79.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.5095, allocations: 0.56 MB / 0.5324 GB, free: 79.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.5096, allocations: 134.1 kB / 0.5325 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.5096, allocations: 12 kB / 0.5326 GB, free: 78.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.5097, allocations: 338 kB / 0.5329 GB, free: 78.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.51, allocations: 153.9 kB / 0.533 GB, free: 78.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.5103, allocations: 464 kB / 0.5335 GB, free: 77.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.511, allocations: 0.6528 MB / 0.5341 GB, free: 77.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.511, allocations: 4 kB / 0.5341 GB, free: 77.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009742/0.512, allocations: 0.704 MB / 0.5348 GB, free: 76.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.512, allocations: 10.5 kB / 0.5348 GB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.512, allocations: 12 kB / 0.5348 GB, free: 76.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.5121, allocations: 36.78 kB / 0.5349 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.5126, allocations: 167.7 kB / 0.535 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006442/0.5133, allocations: 1.288 MB / 0.5363 GB, free: 74.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.5138, allocations: 40.05 kB / 0.5363 GB, free: 74.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.5139, allocations: 36 kB / 0.5363 GB, free: 74.64 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.0003602/0.5142, allocations: 257.6 kB / 0.5366 GB, free: 74.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5144, allocations: 86.91 kB / 0.5367 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.515, allocations: 399.2 kB / 0.5371 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5151, allocations: 4 kB / 0.5371 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5151, allocations: 4 kB / 0.5371 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5151, allocations: 3.984 kB / 0.5371 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.5167, allocations: 1.262 MB / 0.5383 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5167, allocations: 7.938 kB / 0.5383 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.517, allocations: 84.05 kB / 0.5384 GB, free: 72.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-05/0.5171, allocations: 28.84 kB / 0.5384 GB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5171, allocations: 8 kB / 0.5384 GB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005967/0.5177, allocations: 1.272 MB / 0.5397 GB, free: 71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5177, allocations: 4.031 kB / 0.5397 GB, free: 71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.5186, allocations: 0.6583 MB / 0.5403 GB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.5188, allocations: 184.1 kB / 0.5405 GB, free: 70.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5189, allocations: 12 kB / 0.5405 GB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.5193, allocations: 27.98 kB / 0.5405 GB, free: 70.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.5194, allocations: 35.84 kB / 0.5406 GB, free: 70.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.5194, allocations: 16 kB / 0.5406 GB, free: 70.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000609/0.52, allocations: 0.5303 MB / 0.5411 GB, free: 69.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.52, allocations: 0 / 0.5411 GB, free: 69.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007451/0.5208, allocations: 216 kB / 0.5413 GB, free: 69.27 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.0003474/0.5211, allocations: 303 kB / 0.5416 GB, free: 69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008339/0.522, allocations: 0.5242 MB / 0.5421 GB, free: 68.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.522, allocations: 0 / 0.5421 GB, free: 68.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.5223, allocations: 274.7 kB / 0.5424 GB, free: 68.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5235, allocations: 206.6 kB / 0.5426 GB, free: 67.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5259, allocations: 2.144 MB / 0.5447 GB, free: 65.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.5263, allocations: 1 MB / 0.5456 GB, free: 64.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.5265, allocations: 59.44 kB / 0.5457 GB, free: 64.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5265, allocations: 0 / 0.5457 GB, free: 64.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01641/0.5429, allocations: 16.49 MB / 0.5618 GB, free: 48.23 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches