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.001036/0.001036, allocations: 114.5 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2697, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008799/0.2785, allocations: 7.981 MB / 417.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.2831, allocations: 2.641 MB / 420.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.2839, allocations: 23.94 kB / 420.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.2853, allocations: 0.4969 MB / 421.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000947/0.2863, allocations: 400.8 kB / 421.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.2867, allocations: 215.6 kB / 421.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.288, allocations: 1.245 MB / 422.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000711/0.2887, allocations: 0.5306 MB / 423.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007453/0.2894, allocations: 494 kB / 423.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.29, allocations: 0.5134 MB / 424.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.2902, allocations: 116 kB / 424.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.2905, allocations: 160 kB / 424.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.2906, allocations: 239.1 kB / 425 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.2911, allocations: 0.5677 MB / 425.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.2926, allocations: 1.468 MB / 427 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2926, allocations: 0 / 427 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2927, allocations: 0 / 427 MB, free: 424 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.2927, allocations: 0 / 427 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.002125/0.2948, allocations: 1.294 MB / 428.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2949, allocations: 8.031 kB / 428.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006593/0.2955, allocations: 183.5 kB / 428.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2966, allocations: 0.6415 MB / 429.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.2966, allocations: 66.38 kB / 429.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2968, allocations: 91.88 kB / 429.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2981, allocations: 0.8145 MB / 430.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.2982, allocations: 15.83 kB / 430.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.2982, allocations: 36 kB / 430.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.2983, allocations: 20 kB / 430.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/0.2993, allocations: 0.5387 MB / 430.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.3033, allocations: 3.55 MB / 434.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.3038, allocations: 238.6 kB / 434.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.304, allocations: 124.7 kB / 434.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.3041, allocations: 4.078 kB / 434.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3041, allocations: 30.56 kB / 434.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.3041, allocations: 0 / 434.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002026/0.3062, allocations: 1.093 MB / 435.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3062, allocations: 85.05 kB / 435.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.3071, allocations: 0.7624 MB / 436.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3071, allocations: 29.7 kB / 436.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.3075, allocations: 0.5174 MB / 437.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.3076, allocations: 102.6 kB / 437.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3077, allocations: 122.1 kB / 437.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3079, allocations: 378.8 kB / 437.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3082, allocations: 129.2 kB / 437.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.3086, allocations: 450.2 kB / 438.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.3094, allocations: 0.6216 MB / 438.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3094, allocations: 7.938 kB / 438.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001006/0.3104, allocations: 0.6426 MB / 439.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3105, allocations: 12 kB / 439.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.3105, allocations: 12 kB / 439.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.3106, allocations: 40.84 kB / 439.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.3111, allocations: 147.8 kB / 439.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009957/0.3121, allocations: 1.386 MB / 441.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.3125, allocations: 39.89 kB / 441.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3126, allocations: 36.08 kB / 441.2 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.0002902/0.3129, allocations: 253.4 kB / 441.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.313, allocations: 75.06 kB / 441.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.3136, allocations: 329.9 kB / 441.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3137, allocations: 4 kB / 441.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3137, allocations: 4 kB / 441.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3137, allocations: 3.938 kB / 441.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3152, allocations: 1.12 MB / 443 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3152, allocations: 0 / 443 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3155, allocations: 63.95 kB / 443 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-05/0.3156, allocations: 32.72 kB / 443.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3156, allocations: 8 kB / 443.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008544/0.3165, allocations: 1.367 MB / 444.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3165, allocations: 4.188 kB / 444.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.3173, allocations: 0.5757 MB / 445 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3175, allocations: 180.1 kB / 445.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.3176, allocations: 8 kB / 445.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.3179, allocations: 19.98 kB / 445.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.318, allocations: 27.97 kB / 445.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.318, allocations: 16 kB / 445.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005925/0.3186, allocations: 0.5146 MB / 445.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3186, allocations: 0 / 445.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006017/0.3192, allocations: 171.9 kB / 446 MB, free: 12.16 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.0001918/0.3194, allocations: 123.1 kB / 446.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008249/0.3203, allocations: 496.5 kB / 446.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3203, allocations: 0 / 446.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.3206, allocations: 240 kB / 446.8 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.0008516/0.3215, allocations: 189.2 kB / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3236, allocations: 1.499 MB / 448.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3241, allocations: 0.9526 MB / 449.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3242, allocations: 55.44 kB / 449.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3243, allocations: 0 / 449.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of Templates: time 0.01653/0.3408, allocations: 14.02 MB / 463.5 MB, free: 10.52 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/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