Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001601, allocations: 192.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 247 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 47.92 kB / 358.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1146, allocations: 49.44 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00411/0.1188, allocations: 2.238 MB / 410.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.121, allocations: 1.075 MB / 411.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1213, allocations: 4 kB / 411.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.1218, allocations: 95.5 kB / 411.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.1223, allocations: 123.3 kB / 411.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.1229, allocations: 143.5 kB / 411.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.1235, allocations: 282.9 kB / 412 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1237, allocations: 92.52 kB / 412.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.124, allocations: 111.6 kB / 412.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1242, allocations: 127.5 kB / 412.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.1243, allocations: 16 kB / 412.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1245, allocations: 51.97 kB / 412.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1247, allocations: 55.78 kB / 412.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.1249, allocations: 119.3 kB / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007382/0.1257, allocations: 286.8 kB / 412.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1257, allocations: 0 / 412.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1257, allocations: 0 / 412.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.1257, allocations: 0 / 412.9 MB, free: 2.031 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001556/0.1273, allocations: 0.5571 MB / 413.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.1274, allocations: 8.031 kB / 413.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.1277, allocations: 40.67 kB / 413.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.1282, allocations: 252.9 kB / 413.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1283, allocations: 8.375 kB / 413.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.1283, allocations: 32.05 kB / 413.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.1288, allocations: 165.2 kB / 413.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1288, allocations: 7.953 kB / 413.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1288, allocations: 8 kB / 413.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1288, allocations: 4 kB / 413.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1291, allocations: 111.9 kB / 414.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1303, allocations: 0.5664 MB / 414.6 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.1307, allocations: 158.6 kB / 414.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1308, allocations: 88.83 kB / 414.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1309, allocations: 0 / 414.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.1312, allocations: 124.8 kB / 415 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.1312, allocations: 0 / 415 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00057/0.1317, allocations: 231.4 kB / 415.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.1318, allocations: 55.36 kB / 415.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.1322, allocations: 253 kB / 415.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1322, allocations: 29.7 kB / 415.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1323, allocations: 148.4 kB / 415.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.1324, allocations: 67.34 kB / 415.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.1325, allocations: 49.7 kB / 415.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1327, allocations: 334.8 kB / 416.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1328, allocations: 51.97 kB / 416.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.133, allocations: 84 kB / 416.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.1333, allocations: 148.7 kB / 416.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1333, allocations: 4 kB / 416.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000446/0.1338, allocations: 206.8 kB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1338, allocations: 4 kB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1338, allocations: 0 / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1338, allocations: 4 kB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1341, allocations: 47.92 kB / 416.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1341, allocations: 12.03 kB / 416.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1342, allocations: 19.84 kB / 416.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1342, allocations: 4 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.1344, allocations: 146.2 kB / 416.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1345, allocations: 27.8 kB / 416.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.1345, allocations: 30.17 kB / 416.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1346, allocations: 0 / 416.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1346, allocations: 7.938 kB / 416.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1346, allocations: 3.984 kB / 416.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.135, allocations: 285.5 kB / 417.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.135, allocations: 3.938 kB / 417.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.1352, allocations: 31.98 kB / 417.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1352, allocations: 0 / 417.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1352, allocations: 8 kB / 417.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1352, allocations: 0 / 417.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1352, allocations: 3.938 kB / 417.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1358, allocations: 283.2 kB / 417.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.96e-05/0.1359, allocations: 109 kB / 417.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.1359, allocations: 0 / 417.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.136, allocations: 11.94 kB / 417.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1361, allocations: 15.92 kB / 417.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1362, allocations: 12 kB / 417.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1364, allocations: 184.5 kB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1364, allocations: 3.938 kB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1367, allocations: 51.94 kB / 417.9 MB, free: 12.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.1383, allocations: 423.4 kB / 418.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1386, allocations: 142.5 kB / 418.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1386, allocations: 0 / 418.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1388, allocations: 79.89 kB / 418.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1392, allocations: 44.62 kB / 418.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1404, allocations: 0.5688 MB / 419.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.1409, allocations: 0.748 MB / 419.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.1409, allocations: 19.44 kB / 419.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1409, allocations: 0 / 419.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.007051/0.148, allocations: 3.158 MB / 423.1 MB, free: 7.609 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 14.266573857050389]