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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 116.1 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008398/0.2348, allocations: 7.989 MB / 417.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.2382, allocations: 2.626 MB / 420.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003882/0.2386, allocations: 23.94 kB / 420.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.2398, allocations: 0.5481 MB / 421.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.2405, allocations: 456.4 kB / 421.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.2409, allocations: 239.7 kB / 421.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2422, allocations: 1.436 MB / 423.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007253/0.2429, allocations: 0.5846 MB / 423.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.2435, allocations: 0.5525 MB / 424.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.2441, allocations: 0.5794 MB / 425 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2442, allocations: 136 kB / 425.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.2445, allocations: 172 kB / 425.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2447, allocations: 278.9 kB / 425.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.2453, allocations: 0.6493 MB / 426.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.2467, allocations: 1.695 MB / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2467, allocations: 0 / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2468, allocations: 0 / 427.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.2468, allocations: 0 / 427.9 MB, free: 15.55 MB / 350.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.002161/0.2489, allocations: 1.433 MB / 429.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.249, allocations: 12.03 kB / 429.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/0.2496, allocations: 167.4 kB / 429.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.2506, allocations: 0.734 MB / 430.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.2507, allocations: 69.98 kB / 430.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.2508, allocations: 99.91 kB / 430.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2523, allocations: 0.9229 MB / 431.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.2523, allocations: 4 kB / 431.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.2524, allocations: 40 kB / 431.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2524, allocations: 24 kB / 431.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.2536, allocations: 0.6207 MB / 432 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.2581, allocations: 3.881 MB / 435.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.2587, allocations: 339.7 kB / 436.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2589, allocations: 148.8 kB / 436.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.259, allocations: 11.98 kB / 436.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.259, allocations: 38.5 kB / 436.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.259, allocations: 0 / 436.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002057/0.2611, allocations: 1.191 MB / 437.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2611, allocations: 81.11 kB / 437.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/0.2621, allocations: 0.8213 MB / 438.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2621, allocations: 33.7 kB / 438.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.2625, allocations: 0.5757 MB / 439.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.2626, allocations: 122.2 kB / 439.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.2627, allocations: 130.5 kB / 439.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2629, allocations: 330 kB / 439.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.2632, allocations: 149.9 kB / 439.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.2637, allocations: 460 kB / 440.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.2645, allocations: 0.6357 MB / 440.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2645, allocations: 11.88 kB / 440.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001099/0.2657, allocations: 0.6889 MB / 441.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2657, allocations: 12.06 kB / 441.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2657, allocations: 8 kB / 441.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.2658, allocations: 40.78 kB / 441.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.2663, allocations: 151.8 kB / 441.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009943/0.2673, allocations: 1.398 MB / 443.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.2678, allocations: 36.11 kB / 443.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.2678, allocations: 36 kB / 443.3 MB, free: 15.17 MB / 366.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.0002971/0.2682, allocations: 257.5 kB / 443.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.2683, allocations: 86.91 kB / 443.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.269, allocations: 370.2 kB / 444 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.269, allocations: 4 kB / 444 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.269, allocations: 7.922 kB / 444 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.2692, allocations: 188 kB / 444.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.2693, allocations: 7.984 kB / 444.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.2697, allocations: 23.98 kB / 444.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2697, allocations: 19.97 kB / 444.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000826/0.2706, allocations: 417.9 kB / 444.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000883/0.2715, allocations: 0.6496 MB / 445.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002256/0.2717, allocations: 120 kB / 445.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006768/0.2724, allocations: 0.5576 MB / 446 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Backend: time 4e-07/0.2724, allocations: 0 / 446 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.2736, allocations: 0.5147 MB / 446.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 0.002904/0.2765, allocations: 2.243 MB / 448.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of Templates: time 0.01833/0.2948, allocations: 10.4 MB / 459.1 MB, free: 15.32 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches