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.0007354/0.0007354, allocations: 77.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001764, allocations: 453.8 kB / 10.45 MB, free: 248 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.0006768/0.0006768, allocations: 161.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.001549, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9205/0.9205, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07908/0.9996, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.765/1.765, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5061/2.272, allocations: 123.3 MB / 0.7283 GB, free: 5.707 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.563e-06/1.563e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.207e-05, allocations: 6.25 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003707/0.003729, allocations: 2.033 MB / 0.7316 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004994, allocations: 0.7365 MB / 0.7324 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.005131, allocations: 7.938 kB / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.005416, allocations: 94.23 kB / 0.7324 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.005596, allocations: 98.81 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.006015, allocations: 181.5 kB / 0.7327 GB, free: 1.297 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.006284, allocations: 248.6 kB / 0.733 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.006403, allocations: 63.8 kB / 0.733 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.006588, allocations: 167.7 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.006739, allocations: 116.3 kB / 0.7333 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.006765, allocations: 16 kB / 0.7333 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.006912, allocations: 96.45 kB / 0.7334 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.006973, allocations: 52.73 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.007027, allocations: 51.75 kB / 0.7335 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.007281, allocations: 207.3 kB / 0.7337 GB, free: 312 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.007291, allocations: 4.594 kB / 0.7337 GB, free: 308 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.007292, allocations: 0 / 0.7337 GB, free: 308 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.007303, allocations: 0.6875 kB / 0.7337 GB, free: 308 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.0005495/0.007853, allocations: 0.5092 MB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.007881, allocations: 9.125 kB / 0.7342 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.007931, allocations: 24.92 kB / 0.7342 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.008133, allocations: 209.8 kB / 0.7344 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.008152, allocations: 13.5 kB / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.008177, allocations: 12.38 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.008399, allocations: 260.3 kB / 0.7347 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.008406, allocations: 5.062 kB / 0.7347 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.008417, allocations: 4.375 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.008423, allocations: 9.625 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.008491, allocations: 69.92 kB / 0.7348 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.008889, allocations: 464.5 kB / 0.7352 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.00901, allocations: 133.2 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.009053, allocations: 62.55 kB / 0.7354 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.009064, allocations: 5.75 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.009194, allocations: 153.6 kB / 0.7356 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.009195, allocations: 0 / 0.7356 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001948/0.00939, allocations: 214.7 kB / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.009448, allocations: 175.3 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.009567, allocations: 228.9 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.009584, allocations: 29.7 kB / 0.7362 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.009642, allocations: 137.5 kB / 0.7363 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.009669, allocations: 43.62 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.009714, allocations: 46.94 kB / 0.7364 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.009791, allocations: 334.8 kB / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.00983, allocations: 56.52 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.009902, allocations: 152.2 kB / 0.7369 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.009998, allocations: 156.7 kB / 0.7371 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01, allocations: 0 / 0.7371 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001484/0.01015, allocations: 180.8 kB / 0.7372 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.01018, allocations: 46.16 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.01019, allocations: 4 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.0102, allocations: 1.562 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.01027, allocations: 23.94 kB / 0.7373 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.01028, allocations: 3.984 kB / 0.7373 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.01033, allocations: 21.11 kB / 0.7373 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01034, allocations: 11.94 kB / 0.7373 GB, free: 12.21 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 9.492e-05/0.01044, allocations: 160.2 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.01047, allocations: 27.97 kB / 0.7375 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.01051, allocations: 22.22 kB / 0.7375 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01051, allocations: 0.75 kB / 0.7375 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01051, allocations: 0 / 0.7375 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01051, allocations: 7.984 kB / 0.7376 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.01063, allocations: 134.4 kB / 0.7377 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01063, allocations: 0 / 0.7377 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.01068, allocations: 16.81 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.0107, allocations: 23.84 kB / 0.7377 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.0107, allocations: 1.375 kB / 0.7377 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.01073, allocations: 3.938 kB / 0.7377 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01073, allocations: 0 / 0.7377 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01073, allocations: 5.031 kB / 0.7377 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.01097, allocations: 277.9 kB / 0.738 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.011, allocations: 12.92 kB / 0.738 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.01105, allocations: 8 kB / 0.738 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.0111, allocations: 36.53 kB / 0.7381 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01112, allocations: 7.984 kB / 0.7381 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.01117, allocations: 73.53 kB / 0.7381 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01117, allocations: 0 / 0.7381 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001521/0.01132, allocations: 63.83 kB / 0.7382 GB, free: 11.29 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.000126/0.01145, allocations: 124.2 kB / 0.7383 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01161, allocations: 218.1 kB / 0.7385 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.01162, allocations: 4 kB / 0.7385 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.01196, allocations: 149.8 kB / 0.7387 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01216, allocations: 222.5 kB / 0.7389 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.0127, allocations: 424.6 kB / 0.7393 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.01274, allocations: 84.47 kB / 0.7394 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.01278, allocations: 16.67 kB / 0.7394 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.01289, allocations: 99.34 kB / 0.7395 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01289, allocations: 2.438 kB / 0.7395 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.004608/0.0175, allocations: 3.19 MB / 0.7426 GB, free: 6.812 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.654983759857714]