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.001549/0.001549, allocations: 109.3 kB / 18.35 MB, free: 4.812 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.001242/0.001242, allocations: 190.9 kB / 19.29 MB, free: 3.887 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.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00186/0.00186, allocations: 43.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00887/0.1127, allocations: 7.941 MB / 336.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.1169, allocations: 2.631 MB / 339.3 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008684/0.1179, allocations: 23.94 kB / 339.3 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.1195, allocations: 0.5403 MB / 339.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1208, allocations: 456.4 kB / 340.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.1214, allocations: 247.7 kB / 340.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1229, allocations: 1.432 MB / 342 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007351/0.1237, allocations: 0.5846 MB / 342.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005882/0.1242, allocations: 0.5369 MB / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.1248, allocations: 0.5833 MB / 343.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.125, allocations: 136 kB / 343.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.1253, allocations: 180 kB / 344 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1255, allocations: 275 kB / 344.3 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.126, allocations: 0.6493 MB / 344.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1275, allocations: 1.69 MB / 346.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1275, allocations: 0 / 346.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1276, allocations: 0 / 346.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.1276, allocations: 4 kB / 346.6 MB, free: 1.762 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.002418/0.13, allocations: 1.433 MB / 348 MB, free: 280 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1301, allocations: 8.031 kB / 348.1 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.1306, allocations: 167.4 kB / 348.2 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.1317, allocations: 0.73 MB / 348.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.1318, allocations: 70 kB / 349 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1319, allocations: 99.91 kB / 349.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.1333, allocations: 0.9229 MB / 350 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.1334, allocations: 4 kB / 350 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-05/0.1335, allocations: 43.98 kB / 350.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.1335, allocations: 24 kB / 350.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1347, allocations: 0.6207 MB / 350.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.139, allocations: 3.878 MB / 354.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.1396, allocations: 347.6 kB / 354.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.1398, allocations: 152.7 kB / 355.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1399, allocations: 4 kB / 355.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1399, allocations: 38.56 kB / 355.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.1399, allocations: 0 / 355.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002017/0.1419, allocations: 1.193 MB / 356.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.142, allocations: 81.11 kB / 356.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009451/0.143, allocations: 0.8214 MB / 357.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.143, allocations: 33.7 kB / 357.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.1433, allocations: 0.5679 MB / 357.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.1434, allocations: 130.2 kB / 358 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1436, allocations: 126.5 kB / 358.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.1437, allocations: 330 kB / 358.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.144, allocations: 149.9 kB / 358.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.1445, allocations: 464 kB / 359 MB, free: 4.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.1453, allocations: 0.6351 MB / 359.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1453, allocations: 3.938 kB / 359.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001078/0.1464, allocations: 0.692 MB / 360.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1464, allocations: 8.812 kB / 360.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1464, allocations: 12 kB / 360.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.1466, allocations: 32.84 kB / 360.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.147, allocations: 155.8 kB / 360.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009433/0.148, allocations: 1.398 MB / 361.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.1485, allocations: 35.98 kB / 362 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.1485, allocations: 36 kB / 362 MB, free: 1.387 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.0003211/0.1488, allocations: 261.6 kB / 362.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.149, allocations: 86.91 kB / 362.3 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.1497, allocations: 374.4 kB / 362.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1497, allocations: 3.984 kB / 362.7 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1497, allocations: 0 / 362.7 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.1499, allocations: 188 kB / 362.9 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.15, allocations: 7.984 kB / 362.9 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.1503, allocations: 19.98 kB / 362.9 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1504, allocations: 23.97 kB / 362.9 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008372/0.1512, allocations: 421.5 kB / 363.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008768/0.1521, allocations: 0.6417 MB / 364 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002353/0.1524, allocations: 128.4 kB / 364.1 MB, free: 15.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006912/0.1531, allocations: 0.5576 MB / 364.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Backend: time 5.31e-07/0.1531, allocations: 0 / 364.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.1543, allocations: 0.5248 MB / 365.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of SimCode: time 0.002914/0.1572, allocations: 2.23 MB / 367.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Templates: time 0.0172/0.1744, allocations: 10.18 MB / 377.6 MB, free: 1.629 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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