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.001557/0.001557, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2283, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007385/0.2357, allocations: 7.156 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.2389, allocations: 2.364 MB / 419.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.2394, allocations: 19.94 kB / 419.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2405, allocations: 0.4892 MB / 420 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.2412, allocations: 389 kB / 420.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.2415, allocations: 199.7 kB / 420.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.2425, allocations: 1.199 MB / 421.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.2432, allocations: 0.5076 MB / 422.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.2437, allocations: 474.1 kB / 422.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.2441, allocations: 497.8 kB / 423.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2443, allocations: 112 kB / 423.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.2445, allocations: 156 kB / 423.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.2447, allocations: 235.1 kB / 423.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.2451, allocations: 0.5481 MB / 424.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2464, allocations: 1.434 MB / 425.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2464, allocations: 0 / 425.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2464, allocations: 0 / 425.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.2464, allocations: 4 kB / 425.7 MB, free: 1.773 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.001836/0.2483, allocations: 1.246 MB / 426.9 MB, free: 488 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2483, allocations: 12.03 kB / 426.9 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004663/0.2488, allocations: 143.7 kB / 427.1 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.2497, allocations: 0.6416 MB / 427.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.2498, allocations: 58.38 kB / 427.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2499, allocations: 80.38 kB / 427.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2511, allocations: 0.7832 MB / 428.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.2511, allocations: 7.906 kB / 428.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.2512, allocations: 28 kB / 428.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2512, allocations: 23.94 kB / 428.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009476/0.2521, allocations: 0.5231 MB / 429.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.2558, allocations: 3.364 MB / 432.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.2563, allocations: 226.5 kB / 432.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.2565, allocations: 116.8 kB / 432.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2566, allocations: 4 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2566, allocations: 30.56 kB / 433 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.2566, allocations: 0 / 433 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001931/0.2585, allocations: 1.053 MB / 434 MB, free: 9.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2586, allocations: 81.34 kB / 434.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.2595, allocations: 0.7348 MB / 434.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2595, allocations: 33.7 kB / 434.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.2598, allocations: 498.2 kB / 435.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.2599, allocations: 110.5 kB / 435.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2601, allocations: 114.2 kB / 435.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2602, allocations: 374.8 kB / 435.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2605, allocations: 129.2 kB / 436.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.2609, allocations: 418.2 kB / 436.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.2616, allocations: 0.5714 MB / 437 MB, free: 5.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2617, allocations: 4 kB / 437 MB, free: 5.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009746/0.2626, allocations: 0.6146 MB / 437.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2627, allocations: 10.81 kB / 437.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.2627, allocations: 12.69 kB / 437.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.2628, allocations: 32.84 kB / 437.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.2632, allocations: 147.7 kB / 437.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009814/0.2642, allocations: 1.386 MB / 439.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.2647, allocations: 39.98 kB / 439.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.2647, allocations: 35.92 kB / 439.3 MB, free: 3.238 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.0002829/0.265, allocations: 241.6 kB / 439.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.2651, allocations: 71.06 kB / 439.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.2657, allocations: 329.3 kB / 439.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2658, allocations: 0 / 439.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2658, allocations: 0 / 439.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.266, allocations: 172.2 kB / 440.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.266, allocations: 4 kB / 440.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.2663, allocations: 19.98 kB / 440.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2664, allocations: 19.97 kB / 440.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006894/0.2671, allocations: 365.5 kB / 440.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007589/0.2679, allocations: 0.5692 MB / 441.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001939/0.2681, allocations: 104 kB / 441.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006022/0.2687, allocations: 0.4991 MB / 441.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Backend: time 6.91e-07/0.2687, allocations: 0 / 441.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2698, allocations: 479.1 kB / 442.1 MB, free: 324 kB / 350.1 MB Notification: Performance of SimCode: time 0.002457/0.2723, allocations: 1.975 MB / 444.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01455/0.2868, allocations: 8.839 MB / 453 MB, free: 5.547 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