Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 108.7 kB / 17.93 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 189.8 kB / 18.86 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.91 kB / 280.8 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1008, allocations: 46.63 MB / 327.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009213/0.1101, allocations: 7.9 MB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.1149, allocations: 2.604 MB / 337.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.1161, allocations: 23.94 kB / 338 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.1178, allocations: 498.1 kB / 338.5 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.1192, allocations: 401.2 kB / 338.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.1197, allocations: 211.8 kB / 339.1 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1214, allocations: 1.42 MB / 340.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.1222, allocations: 0.5885 MB / 341.1 MB, free: 7.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.123, allocations: 0.5485 MB / 341.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.1236, allocations: 0.5755 MB / 342.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.1237, allocations: 136 kB / 342.3 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1241, allocations: 176 kB / 342.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.1243, allocations: 279 kB / 342.8 MB, free: 5.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.1249, allocations: 0.6453 MB / 343.4 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.1262, allocations: 1.379 MB / 344.8 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1262, allocations: 4 kB / 344.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1262, allocations: 0 / 344.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.1262, allocations: 0 / 344.8 MB, free: 3.324 MB / 286.1 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.002395/0.1286, allocations: 1.429 MB / 346.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1287, allocations: 12.02 kB / 346.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005549/0.1293, allocations: 167.4 kB / 346.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1303, allocations: 0.7144 MB / 347.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.1304, allocations: 70 kB / 347.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1305, allocations: 99.91 kB / 347.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.1321, allocations: 0.9268 MB / 348.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.1321, allocations: 4 kB / 348.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.1322, allocations: 40 kB / 348.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.1322, allocations: 24 kB / 348.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1334, allocations: 0.6246 MB / 348.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.1384, allocations: 3.913 MB / 352.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.139, allocations: 355.7 kB / 353.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.1393, allocations: 147.9 kB / 353.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.1393, allocations: 7.938 kB / 353.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1394, allocations: 34.56 kB / 353.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.1394, allocations: 0 / 353.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002352/0.1417, allocations: 1.195 MB / 354.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.1418, allocations: 85.11 kB / 354.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.1428, allocations: 0.8252 MB / 355.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1429, allocations: 33.7 kB / 355.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.1433, allocations: 0.564 MB / 356 MB, free: 7.547 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.1434, allocations: 130.2 kB / 356.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.1436, allocations: 126.5 kB / 356.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1437, allocations: 330 kB / 356.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.144, allocations: 149.9 kB / 356.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.1445, allocations: 460 kB / 357.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.1454, allocations: 0.643 MB / 357.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1454, allocations: 0 / 357.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001135/0.1465, allocations: 0.6882 MB / 358.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1465, allocations: 8 kB / 358.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.1466, allocations: 12 kB / 358.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.1467, allocations: 41.34 kB / 358.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.1472, allocations: 155.7 kB / 358.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.1484, allocations: 1.39 MB / 360.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.1489, allocations: 39.97 kB / 360.2 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.149, allocations: 36 kB / 360.2 MB, free: 2.918 MB / 302.1 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.0004158/0.1494, allocations: 261.1 kB / 360.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1495, allocations: 86.91 kB / 360.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007276/0.1502, allocations: 374.4 kB / 360.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1503, allocations: 8.031 kB / 360.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1503, allocations: 0 / 360.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1503, allocations: 7.984 kB / 360.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.1521, allocations: 1.261 MB / 362.2 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.1521, allocations: 7.938 kB / 362.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.1524, allocations: 67.84 kB / 362.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-05/0.1525, allocations: 24.84 kB / 362.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.1526, allocations: 8 kB / 362.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.1536, allocations: 1.379 MB / 363.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.1536, allocations: 4.031 kB / 363.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.1545, allocations: 0.6232 MB / 364.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.1548, allocations: 184.2 kB / 364.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.1549, allocations: 8 kB / 364.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.1553, allocations: 31.91 kB / 364.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.1554, allocations: 27.97 kB / 364.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.1554, allocations: 12 kB / 364.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007499/0.1561, allocations: 0.5614 MB / 365.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1562, allocations: 0 / 365.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007428/0.1569, allocations: 195.9 kB / 365.3 MB, free: 13.52 MB / 318.1 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.0002182/0.1571, allocations: 123 kB / 365.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1581, allocations: 0.5309 MB / 366 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1582, allocations: 0.625 kB / 366 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.1586, allocations: 274.6 kB / 366.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.1596, allocations: 216.7 kB / 366.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.1626, allocations: 2.13 MB / 368.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.1632, allocations: 1 MB / 369.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1634, allocations: 59.42 kB / 369.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1634, allocations: 0 / 369.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of Templates: time 0.2035/0.367, allocations: 15.7 MB / 385.3 MB, free: 51.64 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches