Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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.0008598/0.0008598, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.0009498/0.0009498, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9509/0.9509, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.831/1.831, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.333e-05, allocations: 2.812 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002315/0.002328, allocations: 2.034 MB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003455, allocations: 0.7269 MB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.003586, allocations: 3.938 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.003861, allocations: 84.34 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.003982, allocations: 97.83 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.004462, allocations: 171.6 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.004764, allocations: 260 kB / 0.7785 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.0049, allocations: 62.73 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.005083, allocations: 160.2 kB / 0.7787 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.00525, allocations: 123.2 kB / 0.7788 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.005281, allocations: 16 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.005436, allocations: 103.8 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.005508, allocations: 55.78 kB / 0.779 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.00557, allocations: 55.78 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.00584, allocations: 231.2 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005842, allocations: 0 / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005843, allocations: 0 / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.00585, allocations: 3.281 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005569/0.006407, allocations: 477.1 kB / 0.7797 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.006449, allocations: 9.344 kB / 0.7797 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.006507, allocations: 28.92 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.006745, allocations: 200.8 kB / 0.7799 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.006769, allocations: 16.36 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.006797, allocations: 20.89 kB / 0.78 GB, free: 484 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.007063, allocations: 253.5 kB / 0.7802 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.007073, allocations: 4.188 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.007084, allocations: 5.281 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.007092, allocations: 11.88 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.007167, allocations: 69.5 kB / 0.7803 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.007728, allocations: 457.2 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.007863, allocations: 136.6 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.007907, allocations: 60.3 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.007919, allocations: 4.094 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.008039, allocations: 149.5 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.00804, allocations: 0 / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001975/0.008238, allocations: 211.2 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.008284, allocations: 136.5 kB / 0.7814 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.008412, allocations: 229.9 kB / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.008428, allocations: 29.7 kB / 0.7816 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.008488, allocations: 134.6 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.008515, allocations: 51.56 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.008561, allocations: 37.69 kB / 0.7819 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.008648, allocations: 338.8 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.008688, allocations: 52.52 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.008757, allocations: 148.6 kB / 0.7824 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.00885, allocations: 145.6 kB / 0.7825 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008852, allocations: 0 / 0.7825 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001331/0.008985, allocations: 193 kB / 0.7827 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.009011, allocations: 37.64 kB / 0.7827 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.009015, allocations: 4.781 kB / 0.7827 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.009024, allocations: 0 / 0.7827 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.009098, allocations: 25.08 kB / 0.7828 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.009101, allocations: 3.984 kB / 0.7828 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.009157, allocations: 21.41 kB / 0.7828 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.009166, allocations: 8 kB / 0.7828 GB, free: 13.28 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 8.894e-05/0.009255, allocations: 163.8 kB / 0.7829 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.009274, allocations: 23.92 kB / 0.783 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.009308, allocations: 29.7 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.00931, allocations: 1.062 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009312, allocations: 0 / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.009315, allocations: 0 / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.009419, allocations: 134.3 kB / 0.7831 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.00942, allocations: 0.9375 kB / 0.7831 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.009467, allocations: 12 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.009468, allocations: 4 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.009478, allocations: 4.922 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.00948, allocations: 0 / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009481, allocations: 8.938 kB / 0.7832 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.009699, allocations: 270.7 kB / 0.7834 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.009716, allocations: 20.58 kB / 0.7834 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.009737, allocations: 8 kB / 0.7834 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.009775, allocations: 4.688 kB / 0.7834 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.009826, allocations: 35.88 kB / 0.7835 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.009838, allocations: 4.562 kB / 0.7835 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.009903, allocations: 75.91 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.009903, allocations: 0 / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001436/0.01005, allocations: 59.88 kB / 0.7836 GB, free: 12.38 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001145/0.01016, allocations: 121.7 kB / 0.7837 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.01035, allocations: 207.7 kB / 0.7839 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.01035, allocations: 4 kB / 0.7839 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.01042, allocations: 139.4 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.01161, allocations: 32.47 kB / 0.7841 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.01218, allocations: 429.8 kB / 0.7845 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.296e-05/0.01223, allocations: 79.81 kB / 0.7846 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.915e-05/0.0123, allocations: 26.88 kB / 0.7846 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.01245, allocations: 91.36 kB / 0.7847 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01245, allocations: 0 / 0.7847 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.004559/0.01701, allocations: 3.136 MB / 0.7878 GB, free: 8.211 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.644262063317001]