Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 97.27 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007741/0.0007742, allocations: 47.92 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1896, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.0072/0.1968, allocations: 7.888 MB / 381.7 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.2006, allocations: 2.599 MB / 384.3 MB, free: 37.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009631/0.2016, allocations: 23.25 kB / 384.3 MB, free: 37.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.203, allocations: 464.1 kB / 384.8 MB, free: 37.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000961/0.204, allocations: 342 kB / 385.1 MB, free: 36.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.2043, allocations: 188.7 kB / 385.3 MB, free: 36.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008389/0.2052, allocations: 1.18 MB / 386.5 MB, free: 35.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/0.2057, allocations: 472.4 kB / 387 MB, free: 35.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.2061, allocations: 439.9 kB / 387.4 MB, free: 35.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.2065, allocations: 0.4909 MB / 387.9 MB, free: 35.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.2066, allocations: 74.78 kB / 387.9 MB, free: 35.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.2069, allocations: 111.2 kB / 388.1 MB, free: 35.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.207, allocations: 200 kB / 388.2 MB, free: 34.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.2074, allocations: 0.5277 MB / 388.8 MB, free: 34.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007632/0.2082, allocations: 1.401 MB / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2082, allocations: 4 kB / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2082, allocations: 0 / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2082, allocations: 0 / 390.2 MB, free: 33.07 MB / 298.7 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.001601/0.2098, allocations: 1.313 MB / 391.5 MB, free: 31.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2098, allocations: 8.031 kB / 391.5 MB, free: 31.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.2102, allocations: 143.6 kB / 391.6 MB, free: 31.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.2109, allocations: 0.6376 MB / 392.3 MB, free: 30.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.2109, allocations: 62.38 kB / 392.3 MB, free: 30.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.211, allocations: 87.94 kB / 392.4 MB, free: 30.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.212, allocations: 0.8223 MB / 393.2 MB, free: 29.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.212, allocations: 7.906 kB / 393.3 MB, free: 29.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.212, allocations: 36 kB / 393.3 MB, free: 29.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.2121, allocations: 20 kB / 393.3 MB, free: 29.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.2129, allocations: 0.5387 MB / 393.9 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.2157, allocations: 3.578 MB / 397.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.2161, allocations: 246.6 kB / 397.7 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2163, allocations: 120.5 kB / 397.8 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2163, allocations: 4.078 kB / 397.8 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.2163, allocations: 30.56 kB / 397.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.2163, allocations: 0 / 397.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001465/0.2178, allocations: 1.08 MB / 398.9 MB, free: 23.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.2178, allocations: 89.05 kB / 399 MB, free: 23.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.2185, allocations: 0.7623 MB / 399.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2185, allocations: 33.7 kB / 399.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.2187, allocations: 0.5136 MB / 400.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.2187, allocations: 110.5 kB / 400.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.2188, allocations: 118.2 kB / 400.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.2189, allocations: 382.8 kB / 400.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.2191, allocations: 129.2 kB / 401 MB, free: 21.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.2195, allocations: 454.1 kB / 401.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.22, allocations: 0.6146 MB / 402.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.22, allocations: 4 kB / 402.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008028/0.2208, allocations: 0.6376 MB / 402.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2208, allocations: 12.97 kB / 402.7 MB, free: 19.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2209, allocations: 15.94 kB / 402.7 MB, free: 19.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.221, allocations: 36.84 kB / 402.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.2214, allocations: 151.7 kB / 402.9 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/0.2219, allocations: 1.288 MB / 404.2 MB, free: 18.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2223, allocations: 47.88 kB / 404.3 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.2224, allocations: 32 kB / 404.3 MB, free: 17.98 MB / 298.7 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.0002091/0.2226, allocations: 245.6 kB / 404.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.2226, allocations: 79.06 kB / 404.6 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.2232, allocations: 334.1 kB / 404.9 MB, free: 17.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2232, allocations: 4.047 kB / 404.9 MB, free: 17.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2232, allocations: 7.984 kB / 405 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2232, allocations: 4 kB / 405 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.2243, allocations: 1.125 MB / 406.1 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2243, allocations: 7.984 kB / 406.1 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.2246, allocations: 55.91 kB / 406.1 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-05/0.2246, allocations: 24.84 kB / 406.2 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2247, allocations: 8 kB / 406.2 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004757/0.2251, allocations: 1.268 MB / 407.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2252, allocations: 4.031 kB / 407.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.2283, allocations: 3.932 MB / 411.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2285, allocations: 180.2 kB / 411.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.2286, allocations: 11.94 kB / 411.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.2289, allocations: 28.12 kB / 411.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.2289, allocations: 19.91 kB / 411.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.2289, allocations: 12 kB / 411.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004492/0.2294, allocations: 0.5147 MB / 412.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2294, allocations: 4 kB / 412.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006323/0.23, allocations: 240 kB / 412.4 MB, free: 9.336 MB / 298.7 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.0001629/0.2302, allocations: 123.2 kB / 412.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00067/0.2309, allocations: 480.2 kB / 413 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2309, allocations: 0.625 kB / 413 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.2312, allocations: 238.6 kB / 413.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.2321, allocations: 179.1 kB / 413.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.2339, allocations: 2.148 MB / 415.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2342, allocations: 0.9643 MB / 416.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.2345, allocations: 94.17 kB / 416.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.2346, allocations: 47.44 kB / 416.6 MB, free: 4.957 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2346, allocations: 7.938 kB / 416.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of Templates: time 0.01176/0.2464, allocations: 8.588 MB / 425.2 MB, free: 12.39 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches