Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001523/0.001523, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001652/0.001652, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3135, allocations: 53.37 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01032/0.3238, allocations: 8.052 MB / 439.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005415/0.3292, allocations: 2.668 MB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3303, allocations: 23.94 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.332, allocations: 0.5243 MB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.3334, allocations: 436.7 kB / 443.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.334, allocations: 227.5 kB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3357, allocations: 1.237 MB / 444.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.3364, allocations: 368.2 kB / 445.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.3371, allocations: 0.4942 MB / 445.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.3378, allocations: 0.5211 MB / 446.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3379, allocations: 116 kB / 446.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.3382, allocations: 152 kB / 446.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.3384, allocations: 239.2 kB / 446.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.339, allocations: 0.5599 MB / 447.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.3409, allocations: 1.474 MB / 448.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3409, allocations: 4 kB / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3409, allocations: 0 / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.3409, allocations: 0 / 448.7 MB, free: 5.762 MB / 350.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.002289/0.3432, allocations: 1.264 MB / 450 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3432, allocations: 8.031 kB / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.344, allocations: 180.2 kB / 450.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3451, allocations: 0.5842 MB / 450.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.3452, allocations: 66.38 kB / 450.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3453, allocations: 83.94 kB / 450.9 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3467, allocations: 0.8184 MB / 451.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.3467, allocations: 7.953 kB / 451.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.3468, allocations: 32 kB / 451.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3468, allocations: 20 kB / 451.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.3479, allocations: 0.5465 MB / 452.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.3525, allocations: 3.449 MB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.3531, allocations: 232.1 kB / 456 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.3533, allocations: 104.8 kB / 456.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.3533, allocations: 7.984 kB / 456.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3534, allocations: 34.56 kB / 456.1 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.3534, allocations: 7.938 kB / 456.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002158/0.3555, allocations: 0.9405 MB / 457.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.3556, allocations: 85.05 kB / 457.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.3566, allocations: 0.7624 MB / 457.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3567, allocations: 37.7 kB / 458 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.3572, allocations: 0.5228 MB / 458.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3573, allocations: 115.1 kB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3575, allocations: 118.2 kB / 458.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.3577, allocations: 386.7 kB / 459.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.358, allocations: 133.2 kB / 459.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.3586, allocations: 450.2 kB / 459.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.3595, allocations: 0.6177 MB / 460.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3595, allocations: 0 / 460.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00121/0.3607, allocations: 0.6509 MB / 460.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3607, allocations: 8 kB / 460.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.3608, allocations: 15.94 kB / 460.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.3609, allocations: 40.81 kB / 461 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.3614, allocations: 151.7 kB / 461.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.3626, allocations: 1.283 MB / 462.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.3631, allocations: 39.94 kB / 462.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.3632, allocations: 32.09 kB / 462.5 MB, free: 7.121 MB / 366.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.0004003/0.3636, allocations: 253.5 kB / 462.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3637, allocations: 79.48 kB / 462.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000755/0.3645, allocations: 330 kB / 463.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3645, allocations: 4 kB / 463.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3645, allocations: 4 kB / 463.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3645, allocations: 7.922 kB / 463.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3664, allocations: 1.08 MB / 464.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3664, allocations: 8 kB / 464.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.3667, allocations: 63.89 kB / 464.3 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.544e-05/0.3668, allocations: 16.86 kB / 464.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3668, allocations: 11.98 kB / 464.3 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.368, allocations: 1.271 MB / 465.6 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.368, allocations: 4.156 kB / 465.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.3689, allocations: 0.5761 MB / 466.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.3692, allocations: 107.4 kB / 466.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.3693, allocations: 15.92 kB / 466.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.3696, allocations: 15.98 kB / 466.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.3697, allocations: 35.89 kB / 466.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3697, allocations: 8 kB / 466.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007024/0.3704, allocations: 0.5147 MB / 466.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3704, allocations: 0 / 466.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007718/0.3712, allocations: 175.9 kB / 467 MB, free: 2.309 MB / 366.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.0002305/0.3714, allocations: 123.2 kB / 467.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.3724, allocations: 468.7 kB / 467.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3724, allocations: 4 kB / 467.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.3728, allocations: 235.9 kB / 467.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.3737, allocations: 195.2 kB / 468 MB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.3764, allocations: 1.49 MB / 469.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.377, allocations: 0.9526 MB / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.3774, allocations: 98.16 kB / 470.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3775, allocations: 51.42 kB / 470.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3775, allocations: 0 / 470.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01895/0.3964, allocations: 9.011 MB / 479.6 MB, free: 5.688 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0918113209772855]