Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0007826/0.0007826, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009984/0.001781, 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.0006935/0.0006935, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009016/0.001595, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9328/0.9328, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.019, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.821e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002252/0.002271, allocations: 1.617 MB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.002537, allocations: 148.1 kB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.002603, allocations: 3.938 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.002641, allocations: 3.938 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.002706, allocations: 7.984 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.002883, allocations: 39.89 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.002975, allocations: 35.86 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.003062, allocations: 19.88 kB / 246.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.00312, allocations: 19.97 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.003149, allocations: 7.938 kB / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.003167, allocations: 0 / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.003176, allocations: 4 kB / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.003221, allocations: 23.91 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.003245, allocations: 7.938 kB / 246.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.4e-05/0.003329, allocations: 27.86 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.00334, allocations: 0 / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003341, allocations: 0 / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.003353, allocations: 4 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003701/0.003723, allocations: 272.4 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.003752, allocations: 8.031 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.00378, allocations: 4.938 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.00393, allocations: 137.6 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.003947, allocations: 4.375 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.003955, allocations: 4.375 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.00413, allocations: 118.3 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004137, allocations: 192 / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.004143, allocations: 384 / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.004147, allocations: 384 / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.004165, allocations: 11.88 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.004318, allocations: 157.1 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.004391, allocations: 53.09 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.004412, allocations: 21.78 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.004427, allocations: 4 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.004443, allocations: 30.56 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004444, allocations: 4 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001029/0.004547, allocations: 45.62 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.00459, allocations: 89.03 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.004679, allocations: 130.6 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004691, allocations: 25.7 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.004727, allocations: 84.12 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.004737, allocations: 0 / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.004766, allocations: 25.66 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.004839, allocations: 319 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.004847, allocations: 0 / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.004854, allocations: 0 / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.004876, allocations: 16.78 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004878, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.873e-05/0.004917, allocations: 29.7 kB / 248 MB, free: 10.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.004931, allocations: 8 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.004936, allocations: 4 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.004944, allocations: 192 / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.309e-05/0.004957, allocations: 4.031 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.00496, allocations: 4 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.004986, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004991, allocations: 3.984 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.458e-05/0.005046, allocations: 116.7 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.005082, allocations: 41.62 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.00512, allocations: 12 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005122, allocations: 0 / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.005125, allocations: 3.938 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005128, allocations: 0 / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.097e-05/0.005219, allocations: 73.88 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005221, allocations: 4 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.005228, allocations: 4 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.005255, allocations: 11.89 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005256, allocations: 0 / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.005263, allocations: 7.984 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005264, allocations: 4 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.005267, allocations: 3.938 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.355e-05/0.00533, allocations: 132.4 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.005339, allocations: 3.984 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.005377, allocations: 4 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.005398, allocations: 4.031 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005401, allocations: 3.938 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.029e-05/0.005422, allocations: 36.56 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005422, allocations: 0 / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.005536, allocations: 4 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.725e-05/0.005603, allocations: 76.42 kB / 248.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.402e-05/0.005657, allocations: 16.78 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.005662, allocations: 8 kB / 248.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.257e-06/0.005672, allocations: 8.922 kB / 248.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.005848, allocations: 23.78 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.006192, allocations: 155 kB / 248.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.006225, allocations: 63.34 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.451e-05/0.00624, allocations: 0 / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.006281, allocations: 59.3 kB / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006282, allocations: 0 / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of Templates: time 0.00188/0.008161, allocations: 0.5379 MB / 249.5 MB, free: 9.062 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.494669009000063]