Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 117.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2131, allocations: 50.55 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007931/0.2211, allocations: 7.159 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.2247, allocations: 2.376 MB / 419.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005878/0.2253, allocations: 19.94 kB / 419.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2266, allocations: 0.5126 MB / 420 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000885/0.2275, allocations: 417 kB / 420.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.2279, allocations: 199.7 kB / 420.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2292, allocations: 1.199 MB / 421.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.2298, allocations: 0.5115 MB / 422.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.2304, allocations: 474.1 kB / 422.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.231, allocations: 497.8 kB / 423.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2311, allocations: 112 kB / 423.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2314, allocations: 160 kB / 423.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.2316, allocations: 227.1 kB / 423.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.2321, allocations: 0.5443 MB / 424.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.2335, allocations: 1.44 MB / 425.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2335, allocations: 0 / 425.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2335, allocations: 0 / 425.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.2335, allocations: 4 kB / 425.7 MB, free: 1.703 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001947/0.2355, allocations: 1.269 MB / 427 MB, free: 392 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2355, allocations: 12.03 kB / 427 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.236, allocations: 152.2 kB / 427.2 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.237, allocations: 0.646 MB / 427.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.237, allocations: 58.38 kB / 427.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2372, allocations: 84.33 kB / 428 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.2384, allocations: 0.7793 MB / 428.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.2385, allocations: 7.938 kB / 428.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.2385, allocations: 32 kB / 428.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2385, allocations: 23.94 kB / 428.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2396, allocations: 0.5231 MB / 429.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.2434, allocations: 3.377 MB / 432.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.2439, allocations: 218.5 kB / 432.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.2441, allocations: 120.8 kB / 433 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2442, allocations: 4 kB / 433 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2442, allocations: 34.56 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.2442, allocations: 0 / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001933/0.2462, allocations: 1.067 MB / 434.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.2462, allocations: 85.34 kB / 434.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008757/0.2471, allocations: 0.7272 MB / 434.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2471, allocations: 33.7 kB / 435 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.2474, allocations: 0.5073 MB / 435.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.2475, allocations: 115 kB / 435.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.2477, allocations: 110.2 kB / 435.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2478, allocations: 378.8 kB / 436.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.2481, allocations: 125.2 kB / 436.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.2485, allocations: 418.2 kB / 436.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.2493, allocations: 0.5675 MB / 437.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2493, allocations: 4 kB / 437.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001103/0.2504, allocations: 0.6226 MB / 437.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2505, allocations: 8.781 kB / 437.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2505, allocations: 12 kB / 437.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.2506, allocations: 36.84 kB / 437.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.2511, allocations: 139.8 kB / 438 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2521, allocations: 1.394 MB / 439.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.2526, allocations: 35.94 kB / 439.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.2526, allocations: 31.94 kB / 439.5 MB, free: 3.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0002767/0.2529, allocations: 245.7 kB / 439.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.253, allocations: 71.53 kB / 439.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.2536, allocations: 321.3 kB / 440.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2536, allocations: 0 / 440.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2536, allocations: 0 / 440.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.2538, allocations: 172.6 kB / 440.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.2539, allocations: 11.98 kB / 440.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.2543, allocations: 15.98 kB / 440.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.2543, allocations: 23.97 kB / 440.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007623/0.2551, allocations: 365.5 kB / 440.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007953/0.2559, allocations: 0.5775 MB / 441.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000211/0.2561, allocations: 100 kB / 441.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006268/0.2567, allocations: 0.5029 MB / 441.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of Backend: time 3.1e-07/0.2568, allocations: 0 / 441.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2578, allocations: 482.8 kB / 442.3 MB, free: 156 kB / 350.1 MB Notification: Performance of SimCode: time 0.002512/0.2604, allocations: 1.989 MB / 444.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01602/0.2764, allocations: 8.846 MB / 453.1 MB, free: 5.363 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches