Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.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.001797/0.001797, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002441/0.002441, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 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 1.511/1.511, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 348.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003661/0.3695, allocations: 2.245 MB / 399.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3712, allocations: 0.989 MB / 400.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.3713, allocations: 4.094 kB / 400.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.3717, allocations: 97.36 kB / 400.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.3721, allocations: 114.9 kB / 401 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.3725, allocations: 126 kB / 401.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.3729, allocations: 290.4 kB / 401.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.3731, allocations: 66.83 kB / 401.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3732, allocations: 118.7 kB / 401.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3735, allocations: 130.6 kB / 401.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.3735, allocations: 18.03 kB / 401.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.3737, allocations: 52.8 kB / 401.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.3738, allocations: 54.38 kB / 401.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3739, allocations: 120.6 kB / 402 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.3743, allocations: 286.3 kB / 402.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3743, allocations: 5.531 kB / 402.3 MB, free: 6.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3743, allocations: 0.5625 kB / 402.3 MB, free: 6.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3743, allocations: 0 / 402.3 MB, free: 6.582 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000794/0.3751, allocations: 491.6 kB / 402.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3752, allocations: 12.83 kB / 402.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3753, allocations: 31.88 kB / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.3757, allocations: 196.9 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.3757, allocations: 15.19 kB / 403 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.3757, allocations: 19.92 kB / 403 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.3761, allocations: 168.7 kB / 403.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3761, allocations: 1 kB / 403.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.3761, allocations: 5.969 kB / 403.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3761, allocations: 4.312 kB / 403.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.3764, allocations: 118.8 kB / 403.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.3772, allocations: 0.5308 MB / 403.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3775, allocations: 149.7 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3777, allocations: 76.8 kB / 404.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3777, allocations: 11.11 kB / 404.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.3779, allocations: 114.2 kB / 404.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.3779, allocations: 0 / 404.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005298/0.3785, allocations: 234.3 kB / 404.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3785, allocations: 57.56 kB / 404.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.3788, allocations: 256.9 kB / 404.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3788, allocations: 26.98 kB / 404.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.3789, allocations: 147.9 kB / 404.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.379, allocations: 68.47 kB / 405 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.379, allocations: 46.19 kB / 405 MB, free: 4.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.3791, allocations: 338.2 kB / 405.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3792, allocations: 48.52 kB / 405.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3794, allocations: 83.36 kB / 405.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3796, allocations: 146 kB / 405.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3796, allocations: 0 / 405.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003441/0.38, allocations: 206.1 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.38, allocations: 5.562 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.38, allocations: 1.875 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.38, allocations: 6.375 kB / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3802, allocations: 42.36 kB / 405.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3803, allocations: 9.688 kB / 405.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3804, allocations: 22.64 kB / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3804, allocations: 9.344 kB / 405.9 MB, free: 4.105 MB / 318.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.0001193/0.3805, allocations: 137.6 kB / 406 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3805, allocations: 22.81 kB / 406.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.3809, allocations: 207.9 kB / 406.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3809, allocations: 10.47 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3809, allocations: 0.6094 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3809, allocations: 2.406 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3812, allocations: 253.8 kB / 406.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3812, allocations: 0 / 406.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.3814, allocations: 37.05 kB / 406.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3814, allocations: 5.469 kB / 406.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3814, allocations: 2.078 kB / 406.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3814, allocations: 5.375 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3814, allocations: 0.7031 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.3819, allocations: 284.3 kB / 406.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.382, allocations: 23.34 kB / 406.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.382, allocations: 14.22 kB / 406.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.3821, allocations: 6.594 kB / 406.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.3821, allocations: 11.05 kB / 406.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3822, allocations: 6.312 kB / 406.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.3823, allocations: 187.7 kB / 407.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3823, allocations: 4.062 kB / 407.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3826, allocations: 60.06 kB / 407.2 MB, free: 3.332 MB / 318.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.nextTimeEvent,lossTable.nextTimeEventScaled) * 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.001473/0.3841, allocations: 423.7 kB / 407.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.3844, allocations: 133 kB / 407.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3844, allocations: 0 / 407.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3845, allocations: 70.8 kB / 407.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3849, allocations: 59.89 kB / 407.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.3859, allocations: 0.5733 MB / 408.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3861, allocations: 0.7502 MB / 409.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.3861, allocations: 24.34 kB / 409.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3861, allocations: 0 / 409.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of Templates: time 0.006372/0.3925, allocations: 3.161 MB / 412.3 MB, free: 0.6875 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 15.057796912034974]