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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 192.3 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.002343/0.002343, allocations: 48.06 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2976, allocations: 52.15 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003782/0.3014, allocations: 2.248 MB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3034, allocations: 1.087 MB / 424.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3035, allocations: 7.938 kB / 424.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3039, allocations: 91.56 kB / 424.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.3042, allocations: 119.2 kB / 424.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.3046, allocations: 158.9 kB / 425 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.305, allocations: 286.8 kB / 425.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.3052, allocations: 64.59 kB / 425.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.3053, allocations: 107.6 kB / 425.4 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3055, allocations: 135.5 kB / 425.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.3056, allocations: 16 kB / 425.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3057, allocations: 43.98 kB / 425.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.3058, allocations: 59.81 kB / 425.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.306, allocations: 123.3 kB / 425.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.3064, allocations: 292.1 kB / 426.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3064, allocations: 4 kB / 426.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3064, allocations: 0 / 426.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3064, allocations: 0 / 426.1 MB, free: 10.34 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.0008659/0.3072, allocations: 0.5485 MB / 426.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3073, allocations: 11.97 kB / 426.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3074, allocations: 36.75 kB / 426.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3078, allocations: 256.9 kB / 426.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3078, allocations: 8.375 kB / 426.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.3079, allocations: 20.12 kB / 427 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.3082, allocations: 165.1 kB / 427.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3082, allocations: 7.953 kB / 427.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3082, allocations: 11.98 kB / 427.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3082, allocations: 4 kB / 427.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.3085, allocations: 107.9 kB / 427.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.3094, allocations: 0.5704 MB / 427.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.3097, allocations: 154.5 kB / 428 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3099, allocations: 80.81 kB / 428 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3099, allocations: 4 kB / 428.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3101, allocations: 111.7 kB / 428.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.3101, allocations: 3.938 kB / 428.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005511/0.3107, allocations: 233.4 kB / 428.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3107, allocations: 55.36 kB / 428.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.311, allocations: 253 kB / 428.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.311, allocations: 33.7 kB / 428.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3112, allocations: 148.4 kB / 428.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.3112, allocations: 71.41 kB / 428.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.3113, allocations: 45.7 kB / 429 MB, free: 7.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3115, allocations: 330.8 kB / 429.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3116, allocations: 51.97 kB / 429.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3117, allocations: 79.41 kB / 429.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.312, allocations: 158.7 kB / 429.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.312, allocations: 3.938 kB / 429.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003675/0.3124, allocations: 205.3 kB / 429.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3124, allocations: 4 kB / 429.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3124, allocations: 8.094 kB / 429.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3124, allocations: 0 / 429.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3126, allocations: 39.98 kB / 429.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.3127, allocations: 15.86 kB / 429.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3128, allocations: 19.84 kB / 429.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3128, allocations: 8 kB / 429.9 MB, free: 6.285 MB / 334.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.0001468/0.3129, allocations: 145.2 kB / 430 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.313, allocations: 19.86 kB / 430.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.3134, allocations: 214.4 kB / 430.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3134, allocations: 3.938 kB / 430.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3134, allocations: 4 kB / 430.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3134, allocations: 3.984 kB / 430.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.3137, allocations: 285.5 kB / 430.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3137, allocations: 0 / 430.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.3139, allocations: 31.98 kB / 430.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3139, allocations: 0 / 430.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.3139, allocations: 8 kB / 430.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3139, allocations: 7.875 kB / 430.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3139, allocations: 3.984 kB / 430.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.3144, allocations: 276.9 kB / 430.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.3145, allocations: 101 kB / 431 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3145, allocations: 3.938 kB / 431 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.3146, allocations: 11.98 kB / 431 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.3147, allocations: 7.984 kB / 431 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3147, allocations: 8 kB / 431 MB, free: 5.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3149, allocations: 192.5 kB / 431.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3149, allocations: 0 / 431.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.3152, allocations: 67.75 kB / 431.3 MB, free: 4.816 MB / 334.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.001467/0.3166, allocations: 410.2 kB / 431.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.317, allocations: 129.9 kB / 431.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.317, allocations: 4 kB / 431.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3171, allocations: 74.84 kB / 431.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3175, allocations: 55.17 kB / 431.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3186, allocations: 0.5648 MB / 432.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.319, allocations: 0.7441 MB / 433.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.3191, allocations: 23.42 kB / 433.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3191, allocations: 0 / 433.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of Templates: time 0.005901/0.325, allocations: 3.166 MB / 436.4 MB, free: 15.77 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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