Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_SinglePhase,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_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2163, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008704/0.225, allocations: 8.234 MB / 418.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.2293, allocations: 2.754 MB / 420.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.23, allocations: 23.94 kB / 421 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2314, allocations: 0.591 MB / 421.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009136/0.2323, allocations: 0.5002 MB / 422 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.2328, allocations: 271.6 kB / 422.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2342, allocations: 1.506 MB / 423.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007381/0.235, allocations: 0.573 MB / 424.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.2357, allocations: 0.5797 MB / 425 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.2363, allocations: 0.6066 MB / 425.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.2364, allocations: 140 kB / 425.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.2368, allocations: 192 kB / 425.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.237, allocations: 287 kB / 426.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.2375, allocations: 0.6725 MB / 426.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.2392, allocations: 1.766 MB / 428.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2392, allocations: 0 / 428.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2392, allocations: 0 / 428.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.2393, allocations: 0 / 428.6 MB, free: 14.78 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00226/0.2415, allocations: 1.518 MB / 430.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2416, allocations: 8.031 kB / 430.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007314/0.2423, allocations: 208 kB / 430.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.2435, allocations: 0.7626 MB / 431.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.2436, allocations: 74 kB / 431.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2437, allocations: 103.9 kB / 431.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.2452, allocations: 0.9503 MB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.2453, allocations: 3.938 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/0.2454, allocations: 40 kB / 432.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.2454, allocations: 24 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2467, allocations: 0.6519 MB / 433 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/0.2517, allocations: 3.931 MB / 436.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.2524, allocations: 447.6 kB / 437.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.253, allocations: 280.1 kB / 437.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.2531, allocations: 8 kB / 437.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2531, allocations: 42.5 kB / 437.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.923e-06/0.2531, allocations: 0 / 437.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002809/0.2559, allocations: 1.568 MB / 439.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.256, allocations: 89.05 kB / 439.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.257, allocations: 0.8372 MB / 440.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.2571, allocations: 37.7 kB / 440.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.2575, allocations: 0.5814 MB / 440.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2576, allocations: 166.6 kB / 440.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2578, allocations: 134.6 kB / 441.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2579, allocations: 334 kB / 441.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2582, allocations: 177.9 kB / 441.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.2588, allocations: 467.6 kB / 442 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.2597, allocations: 0.6762 MB / 442.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2597, allocations: 0 / 442.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001277/0.261, allocations: 0.7909 MB / 443.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.261, allocations: 8 kB / 443.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.2611, allocations: 19.92 kB / 443.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.2613, allocations: 85.88 kB / 443.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.2619, allocations: 155.7 kB / 443.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.2642, allocations: 3.138 MB / 446.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.2647, allocations: 44 kB / 446.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.2648, allocations: 32 kB / 447 MB, free: 11.35 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 (85): * 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: 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.0003426/0.2651, allocations: 265.5 kB / 447.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2652, allocations: 91.38 kB / 447.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009536/0.2662, allocations: 0.4993 MB / 447.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2662, allocations: 3.984 kB / 447.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2662, allocations: 0 / 447.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.2665, allocations: 204.6 kB / 448 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2666, allocations: 15.98 kB / 448 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.2671, allocations: 31.98 kB / 448 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.2671, allocations: 31.94 kB / 448.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001122/0.2683, allocations: 0.5252 MB / 448.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001137/0.2694, allocations: 0.7813 MB / 449.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002874/0.2697, allocations: 151.9 kB / 449.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.2704, allocations: 0.5732 MB / 450.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of Backend: time 5.31e-07/0.2705, allocations: 0 / 450.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.2719, allocations: 0.6921 MB / 450.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of SimCode: time 0.003004/0.2749, allocations: 2.331 MB / 453.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of Templates: time 0.03173/0.3066, allocations: 11.73 MB / 464.9 MB, free: 9.402 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches