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.0008555/0.0008555, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001979, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007266/0.0007266, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009881/0.001715, 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 1.023/1.023, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1052/1.128, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.453e-06/1.453e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.18e-05, allocations: 6.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002233/0.002255, allocations: 1.618 MB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002549/0.002509, allocations: 148.1 kB / 246.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.002582, allocations: 3.938 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.002619, allocations: 3.938 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.002688, allocations: 7.984 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002859, allocations: 39.78 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002962, allocations: 31.92 kB / 246.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.00305, allocations: 19.91 kB / 246.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.003122, allocations: 23.92 kB / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.003161, allocations: 7.984 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.003188, allocations: 4 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.0032, allocations: 0 / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.00325, allocations: 11.94 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.003273, allocations: 11.94 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.003379, allocations: 31.84 kB / 246.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.003388, allocations: 0 / 246.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003389, allocations: 0 / 246.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.003399, allocations: 0 / 246.7 MB, free: 12.27 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.0003658/0.003765, allocations: 272.4 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.003797, allocations: 12.03 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.00383, allocations: 12.92 kB / 247 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.003989, allocations: 137.5 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.004005, allocations: 4.375 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.004017, allocations: 4.375 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.004199, allocations: 114.3 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.004207, allocations: 4.172 kB / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.004213, allocations: 384 / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.004219, allocations: 4.375 kB / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.004235, allocations: 15.86 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.004395, allocations: 153.2 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.004467, allocations: 45.08 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.004487, allocations: 17.78 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.004502, allocations: 0 / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.004524, allocations: 46.55 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004525, allocations: 0 / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001004/0.004625, allocations: 45.62 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.004711, allocations: 85.05 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.004775, allocations: 134.6 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.004783, allocations: 25.7 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.004809, allocations: 80.14 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.004819, allocations: 4 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.004846, allocations: 13.67 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.004919, allocations: 322.8 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.004926, allocations: 8.125 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.004933, allocations: 3.938 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.615e-05/0.004949, allocations: 8.859 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004951, allocations: 0 / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.703e-05/0.004988, allocations: 29.7 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005, allocations: 8 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005005, allocations: 0 / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.005017, allocations: 3.984 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.047e-05/0.005027, allocations: 3.938 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.005031, allocations: 4.094 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.005053, allocations: 4 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.005056, allocations: 0 / 248.3 MB, free: 10.48 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.902e-05/0.005115, allocations: 116.6 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.005148, allocations: 37.69 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.005174, allocations: 15.94 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005176, allocations: 0 / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.005182, allocations: 3.938 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005184, allocations: 0 / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.005331, allocations: 77.88 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005332, allocations: 4 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.005338, allocations: 4 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.005361, allocations: 15.88 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005363, allocations: 0 / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.005366, allocations: 4 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.005367, allocations: 0 / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.005369, allocations: 4.172 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.549e-05/0.005434, allocations: 144.3 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.005444, allocations: 4 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.005477, allocations: 0 / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.005499, allocations: 4.031 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.005503, allocations: 4 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.012e-05/0.005523, allocations: 28.42 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005523, allocations: 0 / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001084/0.005632, allocations: 4 kB / 248.7 MB, free: 9.969 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.295e-05/0.005695, allocations: 84.41 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.51e-05/0.00575, allocations: 16.8 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.005753, allocations: 0 / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.005765, allocations: 12.95 kB / 248.8 MB, free: 9.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.005952, allocations: 86.94 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.006304, allocations: 159 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.006344, allocations: 63.34 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.006359, allocations: 0 / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.006405, allocations: 51.38 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006406, allocations: 0 / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of Templates: time 0.001975/0.008381, allocations: 0.5498 MB / 249.7 MB, free: 8.891 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7009541066363454]