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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000936/0.000936, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002093, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007521/0.0007521, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009502/0.001702, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8737/0.8737, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1273/1.001, allocations: 49.49 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.215e-05, allocations: 6.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006166/0.006178, allocations: 7.828 MB / 229.7 MB, free: 8.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.009809, allocations: 2.657 MB / 232.3 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.0103, allocations: 23.94 kB / 232.3 MB, free: 5.602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009171/0.01122, allocations: 0.4968 MB / 232.8 MB, free: 5.102 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007128/0.01193, allocations: 452.4 kB / 233.3 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.01226, allocations: 223.5 kB / 233.5 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.01333, allocations: 1.28 MB / 234.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.01375, allocations: 358.4 kB / 235.1 MB, free: 2.773 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008499/0.0146, allocations: 0.8525 MB / 236 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.01509, allocations: 410.8 kB / 236.4 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.01521, allocations: 112 kB / 236.5 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.01546, allocations: 159.9 kB / 236.7 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.01556, allocations: 179.4 kB / 236.8 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.01581, allocations: 335.4 kB / 237.2 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.0165, allocations: 0.759 MB / 237.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.01652, allocations: 0 / 237.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01652, allocations: 0 / 237.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.01654, allocations: 0 / 237.9 MB, free: 15.98 MB / 250.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.001264/0.01781, allocations: 1.43 MB / 239.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.01783, allocations: 12.03 kB / 239.4 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.01814, allocations: 261.9 kB / 239.6 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.01864, allocations: 460.6 kB / 240.1 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.01868, allocations: 62.38 kB / 240.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.01875, allocations: 92.33 kB / 240.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.01929, allocations: 0.6499 MB / 240.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.01931, allocations: 4 kB / 240.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.01935, allocations: 36 kB / 240.9 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.01936, allocations: 20 kB / 240.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.0196, allocations: 213.8 kB / 241.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.02169, allocations: 2.618 MB / 243.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.02188, allocations: 134.5 kB / 243.9 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.02193, allocations: 48.83 kB / 243.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.02195, allocations: 4 kB / 243.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.02197, allocations: 42.94 kB / 244 MB, free: 9.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.02197, allocations: 0 / 244 MB, free: 9.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007437/0.02271, allocations: 0.5398 MB / 244.5 MB, free: 9.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.02273, allocations: 55.41 kB / 244.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.02313, allocations: 0.6105 MB / 245.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.02315, allocations: 29.7 kB / 245.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.02334, allocations: 488.2 kB / 245.7 MB, free: 7.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.02339, allocations: 111.1 kB / 245.8 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.02348, allocations: 126.2 kB / 245.9 MB, free: 7.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.02358, allocations: 386.6 kB / 246.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.02363, allocations: 49.22 kB / 246.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.02384, allocations: 396.2 kB / 246.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.02415, allocations: 0.4889 MB / 247.2 MB, free: 5.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02415, allocations: 4 kB / 247.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003542/0.02451, allocations: 421.8 kB / 247.6 MB, free: 5.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.02452, allocations: 8 kB / 247.6 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.02453, allocations: 12 kB / 247.6 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.231e-05/0.02462, allocations: 33.66 kB / 247.7 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.02491, allocations: 167.7 kB / 247.8 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005173/0.02542, allocations: 1.185 MB / 249 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.02561, allocations: 44.06 kB / 249.1 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.02563, allocations: 24 kB / 249.1 MB, free: 3.996 MB / 250.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.0001137/0.02575, allocations: 157.5 kB / 249.3 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.0258, allocations: 47.94 kB / 249.3 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.02599, allocations: 201 kB / 249.5 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02599, allocations: 4 kB / 249.5 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.02599, allocations: 0 / 249.5 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.02599, allocations: 0 / 249.5 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.02655, allocations: 0.6022 MB / 250.1 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02655, allocations: 4 kB / 250.1 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.0267, allocations: 71.89 kB / 250.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.02679, allocations: 63.52 kB / 250.2 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.871e-05/0.02684, allocations: 24.83 kB / 250.3 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.02685, allocations: 12.22 kB / 250.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004254/0.02727, allocations: 1.158 MB / 251.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02727, allocations: 4 kB / 251.4 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.02752, allocations: 359 kB / 251.8 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.02756, allocations: 16.06 kB / 251.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.02769, allocations: 16 kB / 251.8 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.02773, allocations: 27.95 kB / 251.8 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.02773, allocations: 4 kB / 251.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.02793, allocations: 287.4 kB / 252.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02793, allocations: 0 / 252.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000331/0.02826, allocations: 167.9 kB / 252.3 MB, free: 0.5977 MB / 250.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.0001205/0.02838, allocations: 96.34 kB / 252.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.02869, allocations: 373.5 kB / 252.8 MB, free: 120 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/0.02871, allocations: 12.5 kB / 252.8 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.02883, allocations: 195.4 kB / 253 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.02928, allocations: 236.4 kB / 253.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/0.03723, allocations: 1.427 MB / 254.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.03733, allocations: 157.6 kB / 254.8 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.03752, allocations: 85.66 kB / 254.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.03776, allocations: 201.2 kB / 255 MB, free: 13.72 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03777, allocations: 0 / 255 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Templates: time 0.01189/0.04966, allocations: 9.389 MB / 264.4 MB, free: 4.355 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8157210471108556]