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.001554/0.001554, allocations: 121.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2253, allocations: 50.54 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008639/0.234, allocations: 7.985 MB / 417.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.238, allocations: 2.629 MB / 420.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007955/0.2388, allocations: 23.94 kB / 420.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.2404, allocations: 0.5792 MB / 421.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.2416, allocations: 488.4 kB / 421.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.2421, allocations: 239.7 kB / 421.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.2437, allocations: 1.428 MB / 423.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007227/0.2444, allocations: 0.5846 MB / 423.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.2451, allocations: 0.5564 MB / 424.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.2457, allocations: 0.5794 MB / 425 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2458, allocations: 136 kB / 425.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.2462, allocations: 176 kB / 425.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.2463, allocations: 267 kB / 425.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.2469, allocations: 0.6532 MB / 426.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.2485, allocations: 1.708 MB / 428 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2485, allocations: 0 / 428 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2485, allocations: 0 / 428 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2486, allocations: 0 / 428 MB, free: 15.44 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.002091/0.2506, allocations: 1.459 MB / 429.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2507, allocations: 8.031 kB / 429.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/0.2512, allocations: 176 kB / 429.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2523, allocations: 0.7346 MB / 430.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.2524, allocations: 74 kB / 430.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.2525, allocations: 99.95 kB / 430.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.254, allocations: 0.9268 MB / 431.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.254, allocations: 0 / 431.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.2541, allocations: 40 kB / 431.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.2541, allocations: 24 kB / 431.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.2553, allocations: 0.6246 MB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/0.2597, allocations: 3.891 MB / 436 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.2603, allocations: 350.8 kB / 436.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.2605, allocations: 148.8 kB / 436.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2606, allocations: 4 kB / 436.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2606, allocations: 42.56 kB / 436.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.2606, allocations: 0 / 436.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002098/0.2627, allocations: 1.212 MB / 437.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2628, allocations: 81.11 kB / 437.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.2638, allocations: 0.8215 MB / 438.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2638, allocations: 29.7 kB / 438.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.2642, allocations: 0.585 MB / 439.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.2643, allocations: 134.9 kB / 439.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2644, allocations: 130.6 kB / 439.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2645, allocations: 330 kB / 439.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.2648, allocations: 149.9 kB / 440 MB, free: 2.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.2653, allocations: 464 kB / 440.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.2661, allocations: 0.632 MB / 441.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.2661, allocations: 7.938 kB / 441.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001094/0.2672, allocations: 0.6889 MB / 441.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2673, allocations: 16.22 kB / 441.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2673, allocations: 8 kB / 441.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.2674, allocations: 36.89 kB / 441.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.2679, allocations: 159.7 kB / 442 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009779/0.2689, allocations: 1.398 MB / 443.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.2694, allocations: 31.98 kB / 443.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.2695, allocations: 36.12 kB / 443.5 MB, free: 14.97 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.0003117/0.2698, allocations: 261.5 kB / 443.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2699, allocations: 91.38 kB / 443.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.2706, allocations: 370.1 kB / 444.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2706, allocations: 7.984 kB / 444.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2706, allocations: 7.938 kB / 444.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.2708, allocations: 188.5 kB / 444.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.2709, allocations: 11.98 kB / 444.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.2713, allocations: 19.98 kB / 444.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.2714, allocations: 19.97 kB / 444.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008218/0.2722, allocations: 414 kB / 444.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008851/0.2731, allocations: 0.6579 MB / 445.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002387/0.2733, allocations: 112 kB / 445.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006786/0.274, allocations: 0.5615 MB / 446.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Backend: time 5.52e-07/0.274, allocations: 0 / 446.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.2752, allocations: 0.5281 MB / 446.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 0.002904/0.2781, allocations: 2.276 MB / 448.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of Templates: time 0.0195/0.2976, allocations: 10.38 MB / 459.3 MB, free: 15.07 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