Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 158.7 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.626e-05, allocations: 3.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.0045/0.004526, allocations: 1.532 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006447/0.005171, allocations: 140 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.005277, allocations: 2.25 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.129e-05/0.005339, allocations: 5.297 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.005491, allocations: 7.516 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.005846, allocations: 40.3 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.005961, allocations: 32.92 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.006072, allocations: 10.59 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.00613, allocations: 18.84 kB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.006169, allocations: 9 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.006192, allocations: 7.531 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.006203, allocations: 2.281 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.006255, allocations: 9.578 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.006291, allocations: 14.27 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.006429, allocations: 44.14 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.006433, allocations: 1.125 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006433, allocations: 0 / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.006439, allocations: 0 / 326.9 MB, free: 15.27 MB / 302.1 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.0005249/0.006964, allocations: 291.9 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.007008, allocations: 13.55 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.007056, allocations: 7.984 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.007328, allocations: 139.3 kB / 327.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.007351, allocations: 1.031 kB / 327.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.007364, allocations: 7.906 kB / 327.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.007659, allocations: 112.5 kB / 327.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.00767, allocations: 192 / 327.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.00768, allocations: 2.266 kB / 327.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.007686, allocations: 4.375 kB / 327.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.007758, allocations: 23.39 kB / 327.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.008059, allocations: 207.7 kB / 327.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.008217, allocations: 55.31 kB / 327.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.008277, allocations: 25.17 kB / 327.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.0083, allocations: 5.766 kB / 327.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.008332, allocations: 40.45 kB / 327.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.008333, allocations: 0 / 327.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.008578, allocations: 75.7 kB / 327.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.00865, allocations: 79.88 kB / 327.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.008787, allocations: 138.2 kB / 328.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.008806, allocations: 27.08 kB / 328.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.008867, allocations: 85.89 kB / 328.2 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.008876, allocations: 4.938 kB / 328.2 MB, free: 14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.008912, allocations: 13.59 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.00908, allocations: 317.7 kB / 328.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.009109, allocations: 3.969 kB / 328.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.009129, allocations: 4.516 kB / 328.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.009177, allocations: 15.91 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009178, allocations: 0 / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.605e-05/0.009274, allocations: 46.38 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.009294, allocations: 5.281 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.009303, allocations: 4.5 kB / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.009318, allocations: 0 / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-06/0.009328, allocations: 2.156 kB / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.009336, allocations: 7.922 kB / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.009362, allocations: 5.031 kB / 328.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.009369, allocations: 1.828 kB / 328.6 MB, free: 13.6 MB / 302.1 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 0.0001192/0.009488, allocations: 119.3 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.009571, allocations: 48.33 kB / 328.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.009611, allocations: 16.53 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009614, allocations: 1.438 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.009619, allocations: 0 / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.009623, allocations: 1.953 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.009782, allocations: 113.8 kB / 328.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009783, allocations: 0 / 328.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.009792, allocations: 6 kB / 328.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009794, allocations: 1.031 kB / 328.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.009801, allocations: 1.875 kB / 328.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.009806, allocations: 4.906 kB / 328.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.00981, allocations: 5.031 kB / 328.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.009992, allocations: 159.2 kB / 329.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.01003, allocations: 11.66 kB / 329.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.01004, allocations: 2.594 kB / 329.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.0101, allocations: 5.094 kB / 329.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.01014, allocations: 2.672 kB / 329.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.01015, allocations: 5.938 kB / 329.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.183e-05/0.01024, allocations: 106.2 kB / 329.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01024, allocations: 0 / 329.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.01047, allocations: 8.047 kB / 329.2 MB, free: 13.04 MB / 302.1 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 0.0001196/0.01058, allocations: 94.81 kB / 329.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.0107, allocations: 21.67 kB / 329.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.0107, allocations: 0 / 329.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.01073, allocations: 4.906 kB / 329.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.01107, allocations: 26.3 kB / 329.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.01144, allocations: 158.6 kB / 329.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.01153, allocations: 74.8 kB / 329.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.01155, allocations: 2.875 kB / 329.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.01158, allocations: 9.281 kB / 329.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01158, allocations: 1.156 kB / 329.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Templates: time 0.003611/0.01519, allocations: 0.5024 MB / 330.1 MB, free: 12.62 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.30904608592391]