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.0018/0.0018, allocations: 87.33 kB / 21.99 MB, free: 5.191 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.00211/0.00211, allocations: 157.8 kB / 25.24 MB, free: 3.039 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.423/1.423, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.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.001833/0.001833, allocations: 54.73 kB / 299.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2431, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003927/0.2471, allocations: 2.117 MB / 350.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2489, allocations: 0.9321 MB / 351.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.249, allocations: 4 kB / 351.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.2494, allocations: 95.5 kB / 351.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.2497, allocations: 123.2 kB / 351.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.2501, allocations: 127.7 kB / 351.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.2505, allocations: 286.8 kB / 352.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.2507, allocations: 68.56 kB / 352.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2508, allocations: 115.6 kB / 352.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.251, allocations: 119.5 kB / 352.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.2511, allocations: 16 kB / 352.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2512, allocations: 52 kB / 352.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2513, allocations: 59.7 kB / 352.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2514, allocations: 99.52 kB / 352.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2518, allocations: 289.3 kB / 353 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2518, allocations: 0 / 353 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2518, allocations: 0 / 353 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2518, allocations: 0 / 353 MB, free: 11.05 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.0008649/0.2527, allocations: 485.5 kB / 353.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2527, allocations: 15.98 kB / 353.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2529, allocations: 36.73 kB / 353.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2533, allocations: 195 kB / 353.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2533, allocations: 12.31 kB / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.2533, allocations: 24.12 kB / 353.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.2537, allocations: 169.2 kB / 353.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2537, allocations: 0 / 353.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2537, allocations: 7.984 kB / 353.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2537, allocations: 4 kB / 353.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.254, allocations: 119.9 kB / 354 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.2548, allocations: 467.9 kB / 354.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.2552, allocations: 166.3 kB / 354.6 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2553, allocations: 76.83 kB / 354.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2553, allocations: 4 kB / 354.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.2556, allocations: 119.3 kB / 354.8 MB, free: 9.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.2556, allocations: 0 / 354.8 MB, free: 9.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005241/0.2561, allocations: 233.8 kB / 355 MB, free: 8.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.2561, allocations: 59.41 kB / 355.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2564, allocations: 255.1 kB / 355.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2564, allocations: 33.64 kB / 355.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2565, allocations: 144.4 kB / 355.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.2566, allocations: 67.44 kB / 355.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.2567, allocations: 41.7 kB / 355.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2568, allocations: 338.8 kB / 356 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.257, allocations: 55.97 kB / 356 MB, free: 7.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2571, allocations: 87.34 kB / 356.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.2574, allocations: 155.3 kB / 356.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2574, allocations: 0 / 356.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003734/0.2578, allocations: 205.3 kB / 356.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2578, allocations: 8 kB / 356.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2578, allocations: 3.938 kB / 356.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2578, allocations: 0 / 356.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.258, allocations: 51.91 kB / 356.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.258, allocations: 4.094 kB / 356.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.2581, allocations: 19.83 kB / 356.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2581, allocations: 8 kB / 356.6 MB, free: 7.246 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.0001431/0.2583, allocations: 145.8 kB / 356.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.2583, allocations: 23.86 kB / 356.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.2588, allocations: 219.3 kB / 356.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2588, allocations: 4 kB / 356.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2588, allocations: 0 / 356.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2588, allocations: 3.984 kB / 356.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.259, allocations: 209.1 kB / 357.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.259, allocations: 4 kB / 357.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.2592, allocations: 43.91 kB / 357.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2592, allocations: 0 / 357.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.2592, allocations: 8 kB / 357.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2592, allocations: 0 / 357.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2592, allocations: 0 / 357.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.2598, allocations: 305.2 kB / 357.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.2598, allocations: 19.8 kB / 357.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.2598, allocations: 11.98 kB / 357.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.2599, allocations: 4 kB / 357.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.26, allocations: 23.97 kB / 357.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.26, allocations: 8 kB / 357.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.2602, allocations: 180.6 kB / 357.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2602, allocations: 3.938 kB / 357.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.2604, allocations: 59.89 kB / 357.8 MB, free: 5.934 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.001681/0.2621, allocations: 444 kB / 358.2 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.2625, allocations: 144 kB / 358.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2625, allocations: 4.188 kB / 358.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2626, allocations: 79.78 kB / 358.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2629, allocations: 51.78 kB / 358.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.264, allocations: 0.5523 MB / 359.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2641, allocations: 140.8 kB / 359.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.593e-05/0.2642, allocations: 29.61 kB / 359.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.2643, allocations: 24.48 kB / 359.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2643, allocations: 3.938 kB / 359.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of Templates: time 0.007017/0.2713, allocations: 2.605 MB / 361.9 MB, free: 1.812 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 -s ida -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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.630268099950626]