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.001879/0.001879, allocations: 107.6 kB / 21.18 MB, free: 472 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.002553/0.002553, allocations: 208 kB / 24.47 MB, free: 3.801 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.512/1.512, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.001817/0.001817, allocations: 55.92 kB / 347.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003485/0.3102, allocations: 2.117 MB / 398.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3117, allocations: 0.9303 MB / 399.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3119, allocations: 7.156 kB / 399.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.3122, allocations: 92.69 kB / 400 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.3126, allocations: 124.1 kB / 400.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3129, allocations: 132.8 kB / 400.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.3132, allocations: 284.3 kB / 400.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3134, allocations: 73.92 kB / 400.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3135, allocations: 112.2 kB / 400.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.3137, allocations: 116 kB / 400.8 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.3138, allocations: 18.03 kB / 400.8 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3139, allocations: 56.64 kB / 400.9 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.314, allocations: 51.02 kB / 400.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3141, allocations: 104.8 kB / 401 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.3144, allocations: 288.2 kB / 401.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3144, allocations: 0 / 401.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3145, allocations: 0.7031 kB / 401.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3145, allocations: 0 / 401.3 MB, free: 6.715 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.0007612/0.3152, allocations: 494.6 kB / 401.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3153, allocations: 12.86 kB / 401.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3154, allocations: 34.02 kB / 401.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.3157, allocations: 185.5 kB / 402 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3157, allocations: 16.16 kB / 402 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.3158, allocations: 26.89 kB / 402.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.3161, allocations: 167 kB / 402.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3161, allocations: 1.062 kB / 402.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3161, allocations: 6.453 kB / 402.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3161, allocations: 3.344 kB / 402.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.3164, allocations: 122.1 kB / 402.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.3171, allocations: 467.9 kB / 402.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3175, allocations: 166 kB / 403 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3176, allocations: 82.42 kB / 403 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3177, allocations: 2.656 kB / 403.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.3179, allocations: 123.7 kB / 403.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3179, allocations: 0 / 403.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.000485/0.3184, allocations: 240.5 kB / 403.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.3184, allocations: 54.16 kB / 403.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3186, allocations: 247.4 kB / 403.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3186, allocations: 30.8 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.3187, allocations: 148.8 kB / 403.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.3187, allocations: 66.58 kB / 403.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.3188, allocations: 43.94 kB / 404 MB, free: 4.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.3188, allocations: 335.5 kB / 404.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3189, allocations: 55.2 kB / 404.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3191, allocations: 92.81 kB / 404.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.3193, allocations: 146.2 kB / 404.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3193, allocations: 0.7031 kB / 404.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000321/0.3196, allocations: 209.4 kB / 404.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3196, allocations: 5.469 kB / 404.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3196, allocations: 5.781 kB / 404.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3197, allocations: 1.75 kB / 404.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.3199, allocations: 46.67 kB / 404.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3199, allocations: 2.953 kB / 404.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.32, allocations: 21.08 kB / 404.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.32, allocations: 10.83 kB / 404.9 MB, free: 4.289 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 9.683e-05/0.3201, allocations: 136.6 kB / 405 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3201, allocations: 25.58 kB / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.3205, allocations: 226 kB / 405.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3205, allocations: 6.281 kB / 405.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3205, allocations: 0 / 405.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3205, allocations: 1.312 kB / 405.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3207, allocations: 205.8 kB / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3207, allocations: 0 / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.3209, allocations: 39.31 kB / 405.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3209, allocations: 1.438 kB / 405.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3209, allocations: 7.453 kB / 405.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3209, allocations: 3.938 kB / 405.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3209, allocations: 1.562 kB / 405.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.3214, allocations: 306.5 kB / 405.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3215, allocations: 26.66 kB / 405.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3215, allocations: 7.609 kB / 405.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.3216, allocations: 11.55 kB / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.3217, allocations: 20.14 kB / 405.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3217, allocations: 4.906 kB / 405.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3218, allocations: 187.4 kB / 406.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3218, allocations: 0 / 406.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.3221, allocations: 62.48 kB / 406.1 MB, free: 3.535 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 (22): * Single equations (assignments): 20 * 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.001586/0.3237, allocations: 452.9 kB / 406.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.324, allocations: 134.6 kB / 406.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.324, allocations: 1.375 kB / 406.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3241, allocations: 83.73 kB / 406.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3245, allocations: 50.3 kB / 406.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.3254, allocations: 0.5496 MB / 407.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.3256, allocations: 139.3 kB / 407.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3257, allocations: 38.56 kB / 407.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.3257, allocations: 21.84 kB / 407.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3257, allocations: 0 / 407.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Templates: time 0.006724/0.3325, allocations: 2.88 MB / 410.5 MB, free: 1.637 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.039749417454004]