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.001457/0.001457, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001434/0.001434, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.554/1.554, allocations: 230.5 MB / 254.1 MB, free: 15.1 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.001558/0.001558, allocations: 47.94 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 53.32 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2147/0.344, allocations: 8.022 MB / 434.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.3476, allocations: 2.656 MB / 437.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.3482, allocations: 22.91 kB / 437.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3493, allocations: 0.5252 MB / 438 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008058/0.3501, allocations: 433.2 kB / 438.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.3505, allocations: 218.3 kB / 438.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3516, allocations: 1.232 MB / 439.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.3521, allocations: 370.4 kB / 440.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.3527, allocations: 0.4896 MB / 440.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.3533, allocations: 0.5231 MB / 441.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3535, allocations: 114.7 kB / 441.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.3538, allocations: 157.9 kB / 441.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.3539, allocations: 237.2 kB / 441.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.3544, allocations: 0.5611 MB / 442.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.356, allocations: 1.473 MB / 443.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.356, allocations: 1.156 kB / 443.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.356, allocations: 2.109 kB / 443.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.356, allocations: 0 / 443.8 MB, free: 3.09 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.00228/0.3583, allocations: 1.332 MB / 445.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3583, allocations: 9.406 kB / 445.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007485/0.3591, allocations: 175.2 kB / 445.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3601, allocations: 0.649 MB / 446 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.3601, allocations: 60.28 kB / 446 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.3602, allocations: 96.11 kB / 446.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.3616, allocations: 0.8202 MB / 446.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.3616, allocations: 10.62 kB / 446.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.3617, allocations: 31.75 kB / 447 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.3617, allocations: 21.38 kB / 447 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3629, allocations: 0.5452 MB / 447.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.3675, allocations: 3.568 MB / 451.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.368, allocations: 224.6 kB / 451.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.3683, allocations: 106.4 kB / 451.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3683, allocations: 6.594 kB / 451.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3684, allocations: 40.31 kB / 451.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.474e-06/0.3684, allocations: 1.469 kB / 451.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002388/0.3708, allocations: 1.083 MB / 452.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.3708, allocations: 89.7 kB / 452.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.372, allocations: 0.7641 MB / 453.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.372, allocations: 30.8 kB / 453.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.3725, allocations: 0.5253 MB / 454 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3726, allocations: 115.7 kB / 454.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3728, allocations: 126 kB / 454.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.373, allocations: 382.8 kB / 454.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.3733, allocations: 131.1 kB / 454.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.3739, allocations: 444 kB / 455.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.3748, allocations: 0.6183 MB / 455.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3748, allocations: 2.75 kB / 455.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001366/0.3762, allocations: 0.6607 MB / 456.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3762, allocations: 9.719 kB / 456.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.3763, allocations: 16.62 kB / 456.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.3764, allocations: 33.69 kB / 456.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.3769, allocations: 159.3 kB / 456.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.3782, allocations: 1.381 MB / 458 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.3788, allocations: 42.66 kB / 458.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.3788, allocations: 33.89 kB / 458.1 MB, free: 9.223 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.0003626/0.3792, allocations: 237.7 kB / 458.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3793, allocations: 87.91 kB / 458.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/0.38, allocations: 327 kB / 458.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.38, allocations: 5.188 kB / 458.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.3801, allocations: 3.938 kB / 458.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3801, allocations: 7.672 kB / 458.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.382, allocations: 1.111 MB / 459.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.382, allocations: 1.406 kB / 459.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.3823, allocations: 65.14 kB / 459.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.351e-05/0.3823, allocations: 21.81 kB / 459.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.3824, allocations: 8.938 kB / 460 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.3835, allocations: 1.375 MB / 461.3 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3835, allocations: 6.062 kB / 461.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3845, allocations: 0.5747 MB / 461.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.3848, allocations: 185 kB / 462.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.3849, allocations: 9.516 kB / 462.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3853, allocations: 19.89 kB / 462.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.3853, allocations: 21.72 kB / 462.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3853, allocations: 9.719 kB / 462.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008063/0.3862, allocations: 0.5206 MB / 462.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3862, allocations: 1 kB / 462.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008095/0.387, allocations: 175.3 kB / 462.8 MB, free: 5.852 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.0002277/0.3872, allocations: 128 kB / 463 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3882, allocations: 469 kB / 463.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3882, allocations: 1 kB / 463.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.3886, allocations: 236.2 kB / 463.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.3896, allocations: 207.6 kB / 463.9 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.3923, allocations: 1.488 MB / 465.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.393, allocations: 0.9521 MB / 466.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.3933, allocations: 92.69 kB / 466.4 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3935, allocations: 57.42 kB / 466.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3935, allocations: 0 / 466.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of Templates: time 0.02058/0.414, allocations: 8.728 MB / 475.2 MB, free: 15.06 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.146495997905731]