Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001275/0.001275, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.003187, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001058/0.001058, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002404, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9363/0.9363, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08438/1.021, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.852/1.852, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4802/2.332, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.273e-05, allocations: 3.906 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.005779/0.005802, allocations: 2.022 MB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.006887, allocations: 0.7401 MB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.006997, allocations: 3.938 kB / 0.732 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.007181, allocations: 97.72 kB / 0.7321 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.007315, allocations: 106.5 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.00772, allocations: 173 kB / 0.7324 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.008045, allocations: 255.4 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.008172, allocations: 59.39 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.008385, allocations: 171.7 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.01156, allocations: 112.4 kB / 0.7329 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.01159, allocations: 20 kB / 0.733 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.01176, allocations: 97.58 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.01182, allocations: 51.8 kB / 0.7331 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.01189, allocations: 43.88 kB / 0.7331 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.01216, allocations: 207.2 kB / 0.7333 GB, free: 428 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.01217, allocations: 1.062 kB / 0.7333 GB, free: 428 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01217, allocations: 0 / 0.7333 GB, free: 428 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.01219, allocations: 0 / 0.7333 GB, free: 428 kB / 0.698 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.0006821/0.01287, allocations: 0.5141 MB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.0129, allocations: 8.031 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.01296, allocations: 28.92 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.01321, allocations: 206.2 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.01323, allocations: 12.38 kB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.01326, allocations: 13.12 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.01362, allocations: 261 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01363, allocations: 192 / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.01364, allocations: 10.19 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01365, allocations: 3.938 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.01374, allocations: 70.69 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.01423, allocations: 468.5 kB / 0.7349 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.01738, allocations: 136.6 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.01744, allocations: 63.59 kB / 0.7351 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.01745, allocations: 4 kB / 0.7351 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.01761, allocations: 154.4 kB / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.01761, allocations: 0 / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002389/0.01785, allocations: 218.4 kB / 0.7354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.01789, allocations: 89.05 kB / 0.7355 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.01805, allocations: 233.5 kB / 0.7357 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.01807, allocations: 29.7 kB / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.01814, allocations: 130.7 kB / 0.7359 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.01817, allocations: 43.62 kB / 0.7359 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.01823, allocations: 49.67 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.01833, allocations: 338.8 kB / 0.7363 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.01839, allocations: 53.73 kB / 0.7364 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.01848, allocations: 156.3 kB / 0.7365 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.01861, allocations: 153.5 kB / 0.7367 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01861, allocations: 0 / 0.7367 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001821/0.01879, allocations: 184.7 kB / 0.7368 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.01883, allocations: 41.62 kB / 0.7369 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01884, allocations: 8.594 kB / 0.7369 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.01885, allocations: 0 / 0.7369 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.01894, allocations: 24.73 kB / 0.7369 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01894, allocations: 1.656 kB / 0.7369 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.01902, allocations: 27.88 kB / 0.7369 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01904, allocations: 7.984 kB / 0.7369 GB, free: 12.41 MB / 0.7136 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.0001097/0.01915, allocations: 164 kB / 0.7371 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.01917, allocations: 17.14 kB / 0.7371 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.01921, allocations: 33.7 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01921, allocations: 0 / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01922, allocations: 0.5625 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01922, allocations: 0 / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.01935, allocations: 142.3 kB / 0.7373 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01936, allocations: 0 / 0.7373 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.01942, allocations: 16.52 kB / 0.7373 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.01944, allocations: 16.83 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01944, allocations: 4 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01945, allocations: 5.656 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.01946, allocations: 3.984 kB / 0.7373 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01946, allocations: 0 / 0.7373 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.01972, allocations: 275.6 kB / 0.7376 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.01975, allocations: 10.75 kB / 0.7376 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.68e-05/0.01981, allocations: 15.98 kB / 0.7376 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.01986, allocations: 23.89 kB / 0.7376 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01987, allocations: 4 kB / 0.7376 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000212/0.02009, allocations: 82.75 kB / 0.7377 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.02009, allocations: 0 / 0.7377 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003218/0.0233, allocations: 63.83 kB / 0.7378 GB, free: 11.49 MB / 0.7136 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.0001501/0.02345, allocations: 121.8 kB / 0.7379 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.02366, allocations: 216 kB / 0.7381 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.02367, allocations: 4 kB / 0.7381 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.02376, allocations: 147.1 kB / 0.7382 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.02393, allocations: 50.38 kB / 0.7383 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.02459, allocations: 414.2 kB / 0.7387 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.02465, allocations: 87.81 kB / 0.7388 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.02471, allocations: 15.95 kB / 0.7388 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.02484, allocations: 99.34 kB / 0.7389 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.02484, allocations: 0 / 0.7389 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.01203/0.03687, allocations: 3.206 MB / 0.742 GB, free: 7.219 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor/Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.88804803788662]