Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 103.6 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008901/0.0008901, allocations: 48.77 kB / 300 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1031, allocations: 49.45 MB / 349.4 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01197/0.1151, allocations: 7.922 MB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.1202, allocations: 2.602 MB / 359.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006184/0.1208, allocations: 23.94 kB / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.1225, allocations: 453.6 kB / 360.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.1236, allocations: 345.5 kB / 360.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.1242, allocations: 191.8 kB / 360.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1257, allocations: 1.159 MB / 362.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.1266, allocations: 467.8 kB / 362.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.1273, allocations: 450 kB / 363 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007333/0.128, allocations: 497.7 kB / 363.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1282, allocations: 76 kB / 363.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.1286, allocations: 120 kB / 363.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.1289, allocations: 195.1 kB / 363.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.1295, allocations: 0.5208 MB / 364.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1313, allocations: 1.401 MB / 365.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1313, allocations: 4 kB / 365.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1313, allocations: 0 / 365.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1313, allocations: 0 / 365.8 MB, free: 4.164 MB / 302.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.002927/0.1343, allocations: 1.32 MB / 367.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.1344, allocations: 12.03 kB / 367.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007333/0.1351, allocations: 147.6 kB / 367.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1364, allocations: 0.6299 MB / 367.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.1365, allocations: 62.38 kB / 367.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.1367, allocations: 95.84 kB / 368 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.1385, allocations: 0.8223 MB / 368.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.1385, allocations: 3.938 kB / 368.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.1386, allocations: 39.98 kB / 368.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.1386, allocations: 24 kB / 368.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.14, allocations: 0.5426 MB / 369.5 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.181/0.3211, allocations: 3.565 MB / 373 MB, free: 23.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.3216, allocations: 246.8 kB / 373.3 MB, free: 23.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3219, allocations: 117 kB / 373.4 MB, free: 23.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.322, allocations: 6.547 kB / 373.4 MB, free: 23.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.322, allocations: 37.28 kB / 373.4 MB, free: 23.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.322, allocations: 0 / 373.4 MB, free: 23.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002074/0.3241, allocations: 1.07 MB / 374.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3241, allocations: 81.58 kB / 374.6 MB, free: 22.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.3251, allocations: 0.7601 MB / 375.3 MB, free: 22.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3252, allocations: 32.14 kB / 375.4 MB, free: 22.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.3254, allocations: 0.5223 MB / 375.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.3255, allocations: 102.8 kB / 376 MB, free: 21.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3257, allocations: 123.3 kB / 376.1 MB, free: 21.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.3258, allocations: 381.4 kB / 376.5 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.326, allocations: 131.1 kB / 376.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.3264, allocations: 443.9 kB / 377 MB, free: 20.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.3271, allocations: 0.6216 MB / 377.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3271, allocations: 7.219 kB / 377.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001005/0.3281, allocations: 0.6439 MB / 378.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3282, allocations: 9.531 kB / 378.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3282, allocations: 11.56 kB / 378.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.3283, allocations: 34.23 kB / 378.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.3288, allocations: 154.9 kB / 378.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/0.3295, allocations: 1.292 MB / 379.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.33, allocations: 42.84 kB / 379.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.3301, allocations: 37.23 kB / 379.9 MB, free: 18.57 MB / 302.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.0002586/0.3304, allocations: 237.8 kB / 380.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3305, allocations: 77.64 kB / 380.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.3312, allocations: 336.5 kB / 380.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3312, allocations: 7.875 kB / 380.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3312, allocations: 0 / 380.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3312, allocations: 1.922 kB / 380.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.3331, allocations: 1.115 MB / 381.7 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3331, allocations: 2.312 kB / 381.7 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.3334, allocations: 63.53 kB / 381.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.321e-05/0.3335, allocations: 23.33 kB / 381.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3335, allocations: 12.75 kB / 381.8 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006484/0.3342, allocations: 1.271 MB / 383 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3342, allocations: 12.39 kB / 383 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.3352, allocations: 0.5749 MB / 383.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.3354, allocations: 176.4 kB / 383.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.3355, allocations: 8.734 kB / 383.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.3359, allocations: 26.3 kB / 383.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.3359, allocations: 27.39 kB / 383.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.336, allocations: 11.48 kB / 383.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006492/0.3366, allocations: 0.5166 MB / 384.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.3366, allocations: 0 / 384.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006583/0.3373, allocations: 178.8 kB / 384.6 MB, free: 15.38 MB / 302.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.0001681/0.3375, allocations: 122.8 kB / 384.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008589/0.3383, allocations: 485.7 kB / 385.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3384, allocations: 1.5 kB / 385.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.3388, allocations: 243 kB / 385.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3398, allocations: 179.2 kB / 385.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3419, allocations: 1.81 MB / 387.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.3424, allocations: 0.9574 MB / 388.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.3428, allocations: 93.44 kB / 388.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3429, allocations: 50.53 kB / 388.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3429, allocations: 0 / 388.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01341/0.3563, allocations: 7.981 MB / 396.4 MB, free: 9.602 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches