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.001294/0.001294, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2856, allocations: 50.53 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01112/0.2968, allocations: 7.992 MB / 417.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.3023, allocations: 2.649 MB / 419.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.3031, allocations: 23.94 kB / 419.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3046, allocations: 0.4931 MB / 420.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3056, allocations: 404.8 kB / 420.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.3062, allocations: 219.6 kB / 421 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.3075, allocations: 1.233 MB / 422.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007019/0.3082, allocations: 0.5345 MB / 422.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.3089, allocations: 494 kB / 423.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.3094, allocations: 0.5134 MB / 423.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3096, allocations: 116 kB / 423.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.3099, allocations: 152 kB / 424 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3101, allocations: 235.2 kB / 424.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.3106, allocations: 0.5754 MB / 424.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.312, allocations: 1.464 MB / 426.3 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.312, allocations: 0 / 426.3 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.312, allocations: 0 / 426.3 MB, free: 428 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.312, allocations: 4 kB / 426.3 MB, free: 424 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.002043/0.3141, allocations: 1.301 MB / 427.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3141, allocations: 8.031 kB / 427.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006997/0.3148, allocations: 175.5 kB / 427.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.3158, allocations: 0.6493 MB / 428.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.3159, allocations: 66.38 kB / 428.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.316, allocations: 87.84 kB / 428.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.3173, allocations: 0.8223 MB / 429.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.3174, allocations: 4 kB / 429.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.3174, allocations: 36 kB / 429.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3175, allocations: 20 kB / 429.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3185, allocations: 0.5465 MB / 430 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.3229, allocations: 3.539 MB / 433.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.3234, allocations: 244.9 kB / 433.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.3237, allocations: 120.8 kB / 433.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.3238, allocations: 4.078 kB / 433.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3238, allocations: 38.5 kB / 434 MB, free: 8.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.3238, allocations: 0 / 434 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002136/0.3259, allocations: 1.085 MB / 435 MB, free: 7.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.326, allocations: 93.03 kB / 435.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.3269, allocations: 0.7584 MB / 435.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.327, allocations: 29.7 kB / 435.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.3273, allocations: 0.5175 MB / 436.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.3274, allocations: 102.5 kB / 436.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3276, allocations: 126.1 kB / 436.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3278, allocations: 382.8 kB / 437 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.3281, allocations: 125.2 kB / 437.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.3287, allocations: 454.2 kB / 437.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.3295, allocations: 0.606 MB / 438.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3295, allocations: 11.92 kB / 438.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00104/0.3306, allocations: 0.6496 MB / 438.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3306, allocations: 15.12 kB / 438.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3306, allocations: 12.78 kB / 438.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.3308, allocations: 32.86 kB / 438.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.3312, allocations: 155.7 kB / 439.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009417/0.3322, allocations: 1.378 MB / 440.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.3326, allocations: 47.8 kB / 440.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.3327, allocations: 35.92 kB / 440.5 MB, free: 1.227 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.0002784/0.3329, allocations: 253.1 kB / 440.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.333, allocations: 71.16 kB / 440.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.3337, allocations: 334 kB / 441.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3337, allocations: 7.984 kB / 441.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3337, allocations: 3.938 kB / 441.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3337, allocations: 3.938 kB / 441.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.3356, allocations: 1.118 MB / 442.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3356, allocations: 0 / 442.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.336, allocations: 63.89 kB / 442.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.3361, allocations: 20.86 kB / 442.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3362, allocations: 11.98 kB / 442.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3373, allocations: 1.371 MB / 443.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3373, allocations: 7.969 kB / 443.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3385, allocations: 0.5719 MB / 444.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.3387, allocations: 184.1 kB / 444.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.3389, allocations: 8 kB / 444.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.3393, allocations: 19.98 kB / 444.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.3394, allocations: 23.97 kB / 444.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3395, allocations: 8 kB / 444.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008885/0.3404, allocations: 0.5186 MB / 445.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3404, allocations: 0 / 445.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.3413, allocations: 175.9 kB / 445.3 MB, free: 12.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0002334/0.3416, allocations: 123.1 kB / 445.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3427, allocations: 488.7 kB / 445.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3427, allocations: 0 / 445.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.3432, allocations: 247.8 kB / 446.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.3445, allocations: 186.5 kB / 446.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.3474, allocations: 1.459 MB / 447.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.3481, allocations: 0.9487 MB / 448.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.3486, allocations: 94.16 kB / 448.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3487, allocations: 55.44 kB / 448.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3487, allocations: 0 / 448.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of Templates: time 0.01897/0.3677, allocations: 8.607 MB / 457.5 MB, free: 15.96 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/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