Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002549/0.002555, allocations: 182.6 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.196/3.196, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001845/0.001845, allocations: 99.33 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000679/0.0006792, allocations: 16 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5728, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01509/0.588, allocations: 6.314 MB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008569/0.5966, allocations: 2.502 MB / 383.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.5995, allocations: 22.53 kB / 383.4 MB, free: 38.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.6028, allocations: 445.9 kB / 383.8 MB, free: 38.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.6062, allocations: 463.5 kB / 384.3 MB, free: 37.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.6076, allocations: 152.3 kB / 384.4 MB, free: 37.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.6114, allocations: 0.8793 MB / 385.3 MB, free: 37.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.6129, allocations: 396.8 kB / 385.7 MB, free: 36.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.6144, allocations: 367.1 kB / 386 MB, free: 36.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.6159, allocations: 406.4 kB / 386.4 MB, free: 36.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.6164, allocations: 50.75 kB / 386.5 MB, free: 36.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6175, allocations: 92.34 kB / 386.6 MB, free: 36.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.6178, allocations: 155.3 kB / 386.7 MB, free: 36.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007013/0.6185, allocations: 222.2 kB / 386.9 MB, free: 36.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.6212, allocations: 1.086 MB / 388 MB, free: 35.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6213, allocations: 0 / 388 MB, free: 35.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.6213, allocations: 3.938 kB / 388 MB, free: 35.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001063/0.6214, allocations: 0 / 388 MB, free: 35.3 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.004599/0.626, allocations: 1.153 MB / 389.2 MB, free: 34.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.351e-05/0.6261, allocations: 8.031 kB / 389.2 MB, free: 34.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.6272, allocations: 138.7 kB / 389.3 MB, free: 33.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.6301, allocations: 0.6133 MB / 389.9 MB, free: 33.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.6303, allocations: 58 kB / 390 MB, free: 33.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/0.6307, allocations: 84 kB / 390.1 MB, free: 33.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.6347, allocations: 0.8106 MB / 390.9 MB, free: 32.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.6349, allocations: 11.89 kB / 390.9 MB, free: 32.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.6351, allocations: 36 kB / 390.9 MB, free: 32.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.6351, allocations: 20 kB / 391 MB, free: 32.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.6381, allocations: 0.5504 MB / 391.5 MB, free: 31.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009579/0.6477, allocations: 3.548 MB / 395.1 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.649, allocations: 246.6 kB / 395.3 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.6491, allocations: 4 kB / 395.3 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.6491, allocations: 38.56 kB / 395.3 MB, free: 27.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 5.32e-06/0.6492, allocations: 7.938 kB / 395.3 MB, free: 27.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.004822/0.654, allocations: 1.1 MB / 396.4 MB, free: 26.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.6542, allocations: 85.11 kB / 396.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.6562, allocations: 0.696 MB / 397.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.6563, allocations: 33.7 kB / 397.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.6569, allocations: 0.5316 MB / 397.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6571, allocations: 114.4 kB / 397.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.6572, allocations: 12 kB / 397.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6573, allocations: 334.8 kB / 398.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007341/0.6581, allocations: 141.2 kB / 398.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/0.659, allocations: 450.2 kB / 398.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.6599, allocations: 208.6 kB / 399 MB, free: 23.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.6599, allocations: 4 kB / 399 MB, free: 23.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002381/0.6623, allocations: 0.6032 MB / 399.6 MB, free: 23.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.6624, allocations: 12 kB / 399.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.6625, allocations: 8 kB / 399.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/0.6628, allocations: 41.56 kB / 399.7 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6639, allocations: 159.7 kB / 399.8 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.6656, allocations: 1.303 MB / 401.1 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.6672, allocations: 43.89 kB / 401.2 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6674, allocations: 32 kB / 401.2 MB, free: 21.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000748/0.6682, allocations: 241.7 kB / 401.5 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.6684, allocations: 79.02 kB / 401.5 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.67, allocations: 346 kB / 401.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.67, allocations: 0 / 401.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6701, allocations: 4 kB / 401.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6701, allocations: 3.984 kB / 401.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.6739, allocations: 1.105 MB / 403 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.674, allocations: 0 / 403 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.6747, allocations: 59.91 kB / 403 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.6749, allocations: 28.8 kB / 403.1 MB, free: 19.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.675, allocations: 8 kB / 403.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.6764, allocations: 1.284 MB / 404.4 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.6764, allocations: 7.969 kB / 404.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.6787, allocations: 0.6859 MB / 405.1 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.6792, allocations: 168.2 kB / 405.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6795, allocations: 8 kB / 405.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.6804, allocations: 27.98 kB / 405.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6805, allocations: 27.92 kB / 405.3 MB, free: 16.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.6806, allocations: 12 kB / 405.3 MB, free: 16.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001402/0.682, allocations: 483 kB / 405.8 MB, free: 16.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.682, allocations: 0 / 405.8 MB, free: 16.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002072/0.6841, allocations: 164 kB / 405.9 MB, free: 16.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003414/0.6845, allocations: 119.1 kB / 406 MB, free: 16.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.6866, allocations: 484.2 kB / 406.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.6867, allocations: 0 / 406.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.6875, allocations: 255.6 kB / 406.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.69, allocations: 174.6 kB / 406.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.6954, allocations: 1.834 MB / 408.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/0.6963, allocations: 0.9721 MB / 409.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.6967, allocations: 63.36 kB / 409.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6967, allocations: 0 / 409.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Templates: time 0.03867/0.7354, allocations: 12.98 MB / 422.8 MB, free: 15.3 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches