Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001086, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2254, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008759/0.2342, allocations: 8.101 MB / 418 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.2383, allocations: 2.661 MB / 420.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007142/0.239, allocations: 23.94 kB / 420.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.2403, allocations: 0.5519 MB / 421.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008585/0.2412, allocations: 464.4 kB / 421.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.2416, allocations: 255.7 kB / 422 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.2428, allocations: 1.471 MB / 423.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.2436, allocations: 0.5807 MB / 424 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.2442, allocations: 0.5564 MB / 424.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.2447, allocations: 0.6144 MB / 425.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2449, allocations: 136 kB / 425.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.2452, allocations: 176 kB / 425.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.2454, allocations: 275 kB / 425.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.246, allocations: 0.6648 MB / 426.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.2474, allocations: 1.726 MB / 428.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2474, allocations: 0 / 428.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2474, allocations: 0 / 428.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2474, allocations: 0 / 428.2 MB, free: 15.23 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00217/0.2496, allocations: 1.453 MB / 429.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2497, allocations: 8.031 kB / 429.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.2503, allocations: 187.3 kB / 429.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.2514, allocations: 0.734 MB / 430.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.2515, allocations: 81.92 kB / 430.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2516, allocations: 103.9 kB / 430.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.2531, allocations: 0.9269 MB / 431.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.2531, allocations: 11.94 kB / 431.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.2532, allocations: 36 kB / 431.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2533, allocations: 24 kB / 431.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.2545, allocations: 0.6403 MB / 432.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.2591, allocations: 3.883 MB / 436.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.2598, allocations: 443.3 kB / 436.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.2604, allocations: 273.2 kB / 436.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.2604, allocations: 8.328 kB / 437 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2604, allocations: 34.89 kB / 437 MB, free: 6.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.2604, allocations: 0 / 437 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002497/0.2629, allocations: 1.405 MB / 438.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.263, allocations: 85.11 kB / 438.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.264, allocations: 0.8291 MB / 439.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.2641, allocations: 29.7 kB / 439.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.2644, allocations: 0.5604 MB / 439.9 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2645, allocations: 157.7 kB / 440 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.2647, allocations: 130.6 kB / 440.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2648, allocations: 330 kB / 440.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.2652, allocations: 165.9 kB / 440.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.2657, allocations: 456 kB / 441.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.2666, allocations: 0.6739 MB / 441.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2666, allocations: 4 kB / 441.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001224/0.2678, allocations: 0.7704 MB / 442.6 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2679, allocations: 8 kB / 442.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2679, allocations: 8 kB / 442.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.2681, allocations: 86 kB / 442.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.2686, allocations: 159.6 kB / 442.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.271, allocations: 3.13 MB / 445.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.2715, allocations: 36.05 kB / 446 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.2716, allocations: 32 kB / 446 MB, free: 12.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003451/0.2719, allocations: 262.8 kB / 446.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.2721, allocations: 86.88 kB / 446.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/0.273, allocations: 0.4956 MB / 446.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.273, allocations: 0 / 446.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.273, allocations: 4 kB / 446.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.2733, allocations: 192 kB / 447 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.2734, allocations: 8 kB / 447 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.2738, allocations: 31.92 kB / 447.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.2739, allocations: 31.95 kB / 447.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001049/0.2749, allocations: 0.5141 MB / 447.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009621/0.2759, allocations: 0.7299 MB / 448.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002522/0.2762, allocations: 143.9 kB / 448.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.2769, allocations: 0.5654 MB / 449.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of Backend: time 5.11e-07/0.2769, allocations: 0 / 449.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.2782, allocations: 0.6675 MB / 449.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of SimCode: time 0.002967/0.2812, allocations: 2.271 MB / 452 MB, free: 6.168 MB / 366.1 MB Notification: Performance of Templates: time 0.01909/0.3003, allocations: 11.43 MB / 463.4 MB, free: 10.86 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches