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.0009513/0.0009513, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003906/0.003906, allocations: 166.4 kB / 24.38 MB, free: 8.473 MB / 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.927/0.927, allocations: 177.2 MB / 204.8 MB, free: 5.402 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.771/1.771, allocations: 389.6 MB / 0.6356 GB, free: 12.17 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 2.545e-06/2.545e-06, allocations: 4 kB / 0.7756 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.911e-05, allocations: 6.391 kB / 0.7756 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002385/0.002404, allocations: 2.035 MB / 0.7775 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003604, allocations: 0.7203 MB / 0.7783 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.003724, allocations: 7.938 kB / 0.7783 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.003935, allocations: 81.78 kB / 0.7783 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.004047, allocations: 98.41 kB / 0.7784 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.00449, allocations: 177 kB / 0.7786 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.004759, allocations: 256.1 kB / 0.7788 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.00489, allocations: 54.8 kB / 0.7789 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.005072, allocations: 160.2 kB / 0.7791 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.005232, allocations: 121.4 kB / 0.7792 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.005269, allocations: 20 kB / 0.7792 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.005439, allocations: 95.91 kB / 0.7793 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.005517, allocations: 56.59 kB / 0.7793 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.005582, allocations: 55.78 kB / 0.7794 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.005899, allocations: 239.1 kB / 0.7796 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005902, allocations: 0.5 kB / 0.7796 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005902, allocations: 0.75 kB / 0.7796 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.005909, allocations: 0 / 0.7796 GB, free: 1.074 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.0004742/0.006383, allocations: 475.5 kB / 0.7801 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.006416, allocations: 9.344 kB / 0.7801 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.00646, allocations: 32.91 kB / 0.7801 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.006662, allocations: 203.5 kB / 0.7803 GB, free: 332 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.006681, allocations: 12.38 kB / 0.7803 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.006705, allocations: 16.38 kB / 0.7803 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.006939, allocations: 260.3 kB / 0.7806 GB, free: 16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006946, allocations: 192 / 0.7806 GB, free: 16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.006959, allocations: 12.36 kB / 0.7806 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.006966, allocations: 7.938 kB / 0.7806 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.045e-05/0.007037, allocations: 67.64 kB / 0.7807 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.007436, allocations: 455.7 kB / 0.7811 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.007556, allocations: 141.8 kB / 0.7812 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.0076, allocations: 62.55 kB / 0.7813 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.007607, allocations: 0 / 0.7813 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.007739, allocations: 157.6 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.00774, allocations: 0.875 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002089/0.007949, allocations: 217 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.008003, allocations: 137.5 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.008135, allocations: 229 kB / 0.782 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.008152, allocations: 29.7 kB / 0.782 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.008216, allocations: 138.6 kB / 0.7822 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.008244, allocations: 51.56 kB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.008291, allocations: 37.7 kB / 0.7822 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.008386, allocations: 334.8 kB / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.008431, allocations: 57.7 kB / 0.7826 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.008512, allocations: 150.2 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.008625, allocations: 147.3 kB / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008626, allocations: 0 / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001605/0.008787, allocations: 194.3 kB / 0.7831 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.00882, allocations: 46.41 kB / 0.7831 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008824, allocations: 0 / 0.7831 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.008835, allocations: 8.547 kB / 0.7831 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.008908, allocations: 23.98 kB / 0.7832 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008913, allocations: 0.9062 kB / 0.7832 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.008967, allocations: 23.89 kB / 0.7832 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.008977, allocations: 4.938 kB / 0.7832 GB, free: 13.07 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 0.0001045/0.009081, allocations: 163.6 kB / 0.7833 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.009106, allocations: 21.5 kB / 0.7834 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.009139, allocations: 25.72 kB / 0.7834 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.009143, allocations: 3.984 kB / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.009145, allocations: 0 / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009148, allocations: 2.75 kB / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.00927, allocations: 137.7 kB / 0.7835 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009271, allocations: 4 kB / 0.7835 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.009323, allocations: 15.98 kB / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009325, allocations: 0 / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.009334, allocations: 0 / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.009335, allocations: 0 / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.009339, allocations: 10.81 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.009557, allocations: 271.7 kB / 0.7838 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.009579, allocations: 27.78 kB / 0.7838 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.009603, allocations: 8 kB / 0.7839 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.00964, allocations: 7.938 kB / 0.7839 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.009693, allocations: 31.89 kB / 0.7839 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.009705, allocations: 7.984 kB / 0.7839 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.009763, allocations: 76.22 kB / 0.784 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009763, allocations: 0 / 0.784 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001559/0.009919, allocations: 59.89 kB / 0.784 GB, free: 12.14 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.0001279/0.01005, allocations: 131.2 kB / 0.7842 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.01022, allocations: 208.3 kB / 0.7844 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01022, allocations: 1.094 kB / 0.7844 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.0103, allocations: 141.9 kB / 0.7845 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.01042, allocations: 36.16 kB / 0.7845 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.01086, allocations: 422.3 kB / 0.7849 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.0109, allocations: 83.81 kB / 0.785 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.337e-05/0.01095, allocations: 16.27 kB / 0.785 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01106, allocations: 100.2 kB / 0.7851 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.01106, allocations: 0 / 0.7851 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.004668/0.01573, allocations: 3.134 MB / 0.7882 GB, free: 7.961 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.770497038029134]