Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001671/0.001671, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001338/0.001338, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.169/1.169, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.426e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002492/0.002517, allocations: 1.556 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.002919, allocations: 139.5 kB / 274.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.002994, allocations: 4 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.003048, allocations: 3.938 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003192, allocations: 11.86 kB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.003459, allocations: 35.84 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.003553, allocations: 27.91 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003671, allocations: 8 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.003734, allocations: 23.92 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.003773, allocations: 3.984 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.003801, allocations: 4 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.003816, allocations: 4 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.003874, allocations: 7.938 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.003898, allocations: 11.92 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.004019, allocations: 27.92 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004022, allocations: 3.938 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004023, allocations: 0 / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.004029, allocations: 3.984 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004338/0.004463, allocations: 388.4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.004512, allocations: 8.031 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.004561, allocations: 8.891 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.004782, allocations: 144 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.004806, allocations: 4.375 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.004818, allocations: 384 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.005067, allocations: 109.6 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.005081, allocations: 192 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005093, allocations: 4.375 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.005103, allocations: 384 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.005126, allocations: 7.938 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.00544, allocations: 263.5 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.005494, allocations: 54.12 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.005521, allocations: 19.5 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.005545, allocations: 3.938 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.005572, allocations: 33.39 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.005573, allocations: 0 / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.005754, allocations: 61.52 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.005811, allocations: 81.11 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.005917, allocations: 181.9 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005927, allocations: 25.7 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.00598, allocations: 134.9 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.417e-06/0.00599, allocations: 3.953 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.006022, allocations: 27.31 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.006183, allocations: 496.1 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.006201, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.00621, allocations: 4.25 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.006241, allocations: 11.69 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.006243, allocations: 3.938 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.084e-05/0.006324, allocations: 37.7 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.006342, allocations: 4 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.00635, allocations: 7.938 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.006369, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.006391, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.006398, allocations: 3.984 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.006434, allocations: 4.094 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.006441, allocations: 7.984 kB / 276.9 MB, free: 13.32 MB / 266.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 (sample1.u) * 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 9.183e-05/0.006532, allocations: 152.6 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.006613, allocations: 41.59 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.006658, allocations: 11.41 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.006664, allocations: 7.984 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.006669, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.006674, allocations: 3.984 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.006829, allocations: 120.6 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006831, allocations: 0 / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-06/0.006839, allocations: 4.031 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.006845, allocations: 4 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.006853, allocations: 0 / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.006857, allocations: 3.938 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.006859, allocations: 0 / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.007028, allocations: 203.5 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.00707, allocations: 15.95 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.007084, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.007151, allocations: 3.938 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.007192, allocations: 7.984 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.007196, allocations: 4.031 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.007274, allocations: 143.1 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007274, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.007516, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001252/0.007641, allocations: 99.19 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.007748, allocations: 15.69 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.007752, allocations: 4 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.007768, allocations: 11.62 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.008115, allocations: 20.42 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.008512, allocations: 141.4 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.008572, allocations: 59.34 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.999e-05/0.008592, allocations: 4 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.008623, allocations: 8.5 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.008624, allocations: 0 / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Templates: time 0.002879/0.0115, allocations: 493.4 kB / 278.5 MB, free: 11.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.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: 3.1376877767033875]