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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 113.4 kB / 17.73 MB, free: 5.348 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.001878/0.001878, allocations: 184.1 kB / 18.66 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 47.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 46.63 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.3379/0.4647, allocations: 7.914 MB / 383.1 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007065/0.4718, allocations: 2.619 MB / 385.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.4739, allocations: 22.94 kB / 385.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.4761, allocations: 0.5263 MB / 386.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.4782, allocations: 427.1 kB / 386.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.479, allocations: 222.6 kB / 386.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.4813, allocations: 1.231 MB / 388.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.4825, allocations: 0.5305 MB / 388.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.4836, allocations: 485.9 kB / 389.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008805/0.4845, allocations: 0.5179 MB / 389.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.4847, allocations: 114.7 kB / 389.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.4853, allocations: 156.3 kB / 389.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.4855, allocations: 237.3 kB / 390.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007828/0.4863, allocations: 0.5637 MB / 390.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.4888, allocations: 1.454 MB / 392.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4888, allocations: 0 / 392.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.659e-06/0.4888, allocations: 1.062 kB / 392.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.905e-05/0.4889, allocations: 4 kB / 392.1 MB, free: 5.027 MB / 318.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.002995/0.4919, allocations: 1.31 MB / 393.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.4919, allocations: 13.92 kB / 393.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006604/0.4926, allocations: 146.7 kB / 393.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.4939, allocations: 0.6447 MB / 394.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.494, allocations: 72.59 kB / 394.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.4942, allocations: 89.27 kB / 394.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.4959, allocations: 0.8151 MB / 395.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.496, allocations: 7.75 kB / 395.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.496, allocations: 30.56 kB / 395.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.4961, allocations: 21.28 kB / 395.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.4974, allocations: 0.5405 MB / 395.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005763/0.5032, allocations: 3.552 MB / 399.4 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.5039, allocations: 242.4 kB / 399.6 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.5042, allocations: 118.4 kB / 399.7 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.5042, allocations: 6.75 kB / 399.7 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5043, allocations: 39.42 kB / 399.8 MB, free: 160 kB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 3.567e-06/0.5043, allocations: 0 / 399.8 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.00268/0.507, allocations: 1.073 MB / 400.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.5071, allocations: 84.91 kB / 400.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.5083, allocations: 0.7644 MB / 401.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.5083, allocations: 31.08 kB / 401.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.5088, allocations: 0.5107 MB / 402.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.509, allocations: 113.8 kB / 402.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.5092, allocations: 125.2 kB / 402.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.5095, allocations: 382.2 kB / 402.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.5098, allocations: 129.3 kB / 403 MB, free: 14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.5106, allocations: 445.7 kB / 403.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.5116, allocations: 0.6218 MB / 404 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.5116, allocations: 2.75 kB / 404 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001446/0.5131, allocations: 0.644 MB / 404.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.5131, allocations: 10.31 kB / 404.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.5132, allocations: 18.44 kB / 404.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.5134, allocations: 35.44 kB / 404.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.514, allocations: 164.3 kB / 404.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.5153, allocations: 1.385 MB / 406.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.516, allocations: 41.33 kB / 406.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.516, allocations: 31.38 kB / 406.4 MB, free: 11.17 MB / 334.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.000445/0.5165, allocations: 237.9 kB / 406.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5166, allocations: 79.5 kB / 406.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.5175, allocations: 332.5 kB / 407 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5175, allocations: 3.688 kB / 407 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5175, allocations: 0 / 407 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5175, allocations: 3.938 kB / 407 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.5195, allocations: 1.124 MB / 408.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5195, allocations: 5.922 kB / 408.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.5199, allocations: 58.78 kB / 408.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-05/0.52, allocations: 28.19 kB / 408.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.52, allocations: 7.906 kB / 408.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.5211, allocations: 1.377 MB / 409.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5211, allocations: 6.281 kB / 409.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.5222, allocations: 0.5709 MB / 410.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.5225, allocations: 182.1 kB / 410.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.5226, allocations: 8.562 kB / 410.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.5229, allocations: 22.16 kB / 410.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.523, allocations: 23.41 kB / 410.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.523, allocations: 11.33 kB / 410.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008129/0.5239, allocations: 0.5194 MB / 410.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.5239, allocations: 0 / 410.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009238/0.5248, allocations: 178.4 kB / 411.1 MB, free: 7.434 MB / 334.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.0002808/0.5251, allocations: 109.1 kB / 411.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.5262, allocations: 488.7 kB / 411.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5262, allocations: 0 / 411.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.5266, allocations: 243.3 kB / 411.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.5276, allocations: 190.1 kB / 412.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.5305, allocations: 1.461 MB / 413.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.5312, allocations: 0.9505 MB / 414.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.5316, allocations: 92.7 kB / 414.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.5318, allocations: 48.59 kB / 414.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of SimCode: time 2.535e-06/0.5318, allocations: 3.938 kB / 414.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Templates: time 0.01974/0.5516, allocations: 8.596 MB / 423.3 MB, free: 14.4 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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