Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 113.2 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.002035/0.002036, allocations: 210.7 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.395/1.395, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2313, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008364/0.2397, allocations: 7.989 MB / 417.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.2441, allocations: 2.641 MB / 420.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007148/0.2448, allocations: 23.94 kB / 420.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.2462, allocations: 0.5282 MB / 421.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008935/0.2471, allocations: 432.8 kB / 421.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2476, allocations: 219.6 kB / 421.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.2487, allocations: 1.237 MB / 423 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.2494, allocations: 0.5345 MB / 423.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.2499, allocations: 494 kB / 424 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.2505, allocations: 0.5134 MB / 424.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2506, allocations: 116 kB / 424.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2509, allocations: 156 kB / 424.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.251, allocations: 239.2 kB / 425 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.2515, allocations: 0.5637 MB / 425.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.2527, allocations: 1.464 MB / 427.1 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2528, allocations: 0 / 427.1 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2528, allocations: 0 / 427.1 MB, free: 360 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2528, allocations: 0 / 427.1 MB, free: 360 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002009/0.2548, allocations: 1.305 MB / 428.4 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2548, allocations: 8.031 kB / 428.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.2555, allocations: 175.5 kB / 428.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/0.2564, allocations: 0.6454 MB / 429.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.2565, allocations: 70.38 kB / 429.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.2566, allocations: 83.94 kB / 429.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.258, allocations: 0.8184 MB / 430.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.258, allocations: 11.91 kB / 430.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.2581, allocations: 39.98 kB / 430.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2581, allocations: 20 kB / 430.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.2592, allocations: 0.5387 MB / 430.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.2631, allocations: 3.539 MB / 434.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.2637, allocations: 250.6 kB / 434.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2639, allocations: 112.8 kB / 434.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.264, allocations: 4 kB / 434.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.264, allocations: 34.56 kB / 434.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.374e-06/0.264, allocations: 7.938 kB / 434.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002008/0.266, allocations: 1.081 MB / 435.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2661, allocations: 89.11 kB / 435.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/0.267, allocations: 0.7584 MB / 436.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.2671, allocations: 29.7 kB / 436.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.2674, allocations: 0.5174 MB / 437.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.2675, allocations: 106.5 kB / 437.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.2677, allocations: 118.2 kB / 437.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2678, allocations: 382.8 kB / 437.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.2681, allocations: 141.2 kB / 437.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.2686, allocations: 446.2 kB / 438.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.2695, allocations: 0.6138 MB / 439 MB, free: 3.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2695, allocations: 4 kB / 439 MB, free: 3.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00109/0.2706, allocations: 0.6504 MB / 439.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2706, allocations: 14.97 kB / 439.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2706, allocations: 8 kB / 439.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.2708, allocations: 40.72 kB / 439.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.2713, allocations: 155.7 kB / 439.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009388/0.2722, allocations: 1.379 MB / 441.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2727, allocations: 48.05 kB / 441.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.2728, allocations: 32 kB / 441.3 MB, free: 1.164 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003052/0.2731, allocations: 245.4 kB / 441.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.2732, allocations: 75.06 kB / 441.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.2738, allocations: 334 kB / 441.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2739, allocations: 0 / 441.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2739, allocations: 3.984 kB / 441.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.2741, allocations: 180.1 kB / 442.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.2741, allocations: 4 kB / 442.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2745, allocations: 19.98 kB / 442.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.2745, allocations: 19.97 kB / 442.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007823/0.2753, allocations: 377.5 kB / 442.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008308/0.2762, allocations: 0.5927 MB / 443.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002117/0.2764, allocations: 103.9 kB / 443.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.2771, allocations: 0.5186 MB / 443.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.2771, allocations: 0 / 443.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.2782, allocations: 0.4948 MB / 444.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 0.002669/0.2809, allocations: 2.012 MB / 446.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01643/0.2973, allocations: 9.191 MB / 455.4 MB, free: 2.973 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches