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.001869/0.001869, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 100.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009286/0.0009286, allocations: 43.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2189, allocations: 50.47 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006424/0.2254, allocations: 7.954 MB / 415 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.229, allocations: 2.608 MB / 417.6 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005985/0.2297, allocations: 23.94 kB / 417.7 MB, free: 17.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.2308, allocations: 498.1 kB / 418.1 MB, free: 16.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.2315, allocations: 397.2 kB / 418.5 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.2319, allocations: 207.8 kB / 418.7 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.2327, allocations: 1.362 MB / 420.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.2332, allocations: 0.5006 MB / 420.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.2337, allocations: 0.4938 MB / 421.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.234, allocations: 0.5482 MB / 421.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.2342, allocations: 84 kB / 421.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.2344, allocations: 128 kB / 421.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2345, allocations: 230.9 kB / 422.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.2349, allocations: 0.5946 MB / 422.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.2358, allocations: 1.631 MB / 424.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2358, allocations: 3.938 kB / 424.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2358, allocations: 0 / 424.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2358, allocations: 0 / 424.3 MB, free: 10.47 MB / 298.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.001812/0.2376, allocations: 1.433 MB / 425.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2377, allocations: 8.031 kB / 425.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.2381, allocations: 167.4 kB / 425.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.2389, allocations: 0.7144 MB / 426.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.239, allocations: 70 kB / 426.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.2391, allocations: 99.98 kB / 426.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2402, allocations: 0.9268 MB / 427.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.2403, allocations: 11.91 kB / 427.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.2403, allocations: 40 kB / 427.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2404, allocations: 20 kB / 427.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.2414, allocations: 0.6286 MB / 428.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.2449, allocations: 3.917 MB / 432.3 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.2454, allocations: 354.4 kB / 432.7 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.2456, allocations: 151.3 kB / 432.8 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.2456, allocations: 8.469 kB / 432.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2457, allocations: 38.55 kB / 432.9 MB, free: 1.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.2457, allocations: 0 / 432.9 MB, free: 1.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001872/0.2476, allocations: 1.183 MB / 434 MB, free: 260 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2476, allocations: 89.05 kB / 434.1 MB, free: 152 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/0.2486, allocations: 0.8214 MB / 435 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2486, allocations: 29.7 kB / 435 MB, free: 15.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.249, allocations: 0.5678 MB / 435.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.2491, allocations: 138.1 kB / 435.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.2492, allocations: 126.5 kB / 435.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2494, allocations: 330 kB / 436.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.2496, allocations: 153.9 kB / 436.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.2501, allocations: 452 kB / 436.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.2509, allocations: 0.6435 MB / 437.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.251, allocations: 4 kB / 437.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001088/0.2521, allocations: 0.6765 MB / 438 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.2521, allocations: 23.86 kB / 438.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2521, allocations: 8 kB / 438.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.2523, allocations: 37.45 kB / 438.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.2528, allocations: 155.7 kB / 438.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000952/0.2538, allocations: 1.296 MB / 439.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.2542, allocations: 31.98 kB / 439.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2543, allocations: 36 kB / 439.6 MB, free: 10.17 MB / 314.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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003349/0.2546, allocations: 259.1 kB / 439.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2547, allocations: 82.97 kB / 440 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.2554, allocations: 382.5 kB / 440.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2554, allocations: 4 kB / 440.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2555, allocations: 0 / 440.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2555, allocations: 8.031 kB / 440.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.2572, allocations: 1.262 MB / 441.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2572, allocations: 4.219 kB / 441.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.2575, allocations: 79.89 kB / 441.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.302e-05/0.2576, allocations: 20.86 kB / 441.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.2576, allocations: 11.98 kB / 441.7 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007615/0.2584, allocations: 1.272 MB / 443 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2584, allocations: 4.031 kB / 443 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.2631, allocations: 4.167 MB / 447.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.2633, allocations: 188.1 kB / 447.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.2634, allocations: 8 kB / 447.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.2638, allocations: 32.12 kB / 447.4 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.2638, allocations: 27.91 kB / 447.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.2639, allocations: 12 kB / 447.4 MB, free: 1.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006915/0.2646, allocations: 0.5615 MB / 448 MB, free: 1.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2646, allocations: 0 / 448 MB, free: 1.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009078/0.2655, allocations: 264 kB / 448.2 MB, free: 0.9883 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.2657, allocations: 127.2 kB / 448.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000924/0.2667, allocations: 0.5048 MB / 448.9 MB, free: 348 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2667, allocations: 0 / 448.9 MB, free: 348 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.2671, allocations: 263.5 kB / 449.1 MB, free: 72 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2681, allocations: 191.6 kB / 449.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.271, allocations: 2.48 MB / 451.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.2715, allocations: 1.004 MB / 452.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003851/0.2719, allocations: 94.89 kB / 452.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.272, allocations: 63.42 kB / 453 MB, free: 12.14 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.272, allocations: 0 / 453 MB, free: 12.14 MB / 330.7 MB Notification: Performance of Templates: time 0.0164/0.2884, allocations: 9.685 MB / 462.6 MB, free: 2.555 MB / 330.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@2/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