Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001695/0.001695, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.00239/0.00239, allocations: 160.6 kB / 23.95 MB, free: 4.152 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.473/1.473, allocations: 177 MB / 204.1 MB, free: 9.148 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.563e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002501/0.002527, allocations: 1.462 MB / 326.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.002798, allocations: 92.94 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.002859, allocations: 1.312 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.002887, allocations: 4.688 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.002931, allocations: 7.875 kB / 326.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.003167, allocations: 19.34 kB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.003251, allocations: 29.58 kB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.003339, allocations: 12.75 kB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.003383, allocations: 12.58 kB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.003415, allocations: 8.484 kB / 326.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003434, allocations: 6.219 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.003444, allocations: 2.312 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.00346, allocations: 1.938 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.003489, allocations: 7.969 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.003579, allocations: 35.16 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003581, allocations: 5.094 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003581, allocations: 0 / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003585, allocations: 0 / 326.7 MB, free: 15.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003925/0.003978, allocations: 259.6 kB / 327 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.004015, allocations: 13.52 kB / 327 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.004044, allocations: 3.062 kB / 327 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.004254, allocations: 123.9 kB / 327.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.004274, allocations: 1.469 kB / 327.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.004284, allocations: 2.5 kB / 327.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.004564, allocations: 99.5 kB / 327.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004575, allocations: 0.8906 kB / 327.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.004585, allocations: 4.375 kB / 327.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004592, allocations: 9.734 kB / 327.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.004661, allocations: 15.17 kB / 327.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.004793, allocations: 106.4 kB / 327.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.004938, allocations: 50.14 kB / 327.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.004994, allocations: 19.42 kB / 327.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.005013, allocations: 1.094 kB / 327.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.005042, allocations: 32.97 kB / 327.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005043, allocations: 0 / 327.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.005245, allocations: 72.47 kB / 327.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.005303, allocations: 57.08 kB / 327.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.005393, allocations: 107.4 kB / 327.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.005412, allocations: 29.7 kB / 327.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.00546, allocations: 89.95 kB / 327.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.005463, allocations: 1.766 kB / 327.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.00549, allocations: 11.66 kB / 327.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.005624, allocations: 312.8 kB / 328.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.005629, allocations: 1.438 kB / 328.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.005634, allocations: 4 kB / 328.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.005667, allocations: 76.27 kB / 328.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.005702, allocations: 76.69 kB / 328.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.753e-05/0.00576, allocations: 37.03 kB / 328.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.005803, allocations: 80.56 kB / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.005838, allocations: 77.33 kB / 328.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.302e-05/0.005921, allocations: 151.7 kB / 328.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.005956, allocations: 81.61 kB / 328.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.015e-05/0.006026, allocations: 155.8 kB / 328.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.00611, allocations: 85.3 kB / 328.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.006149, allocations: 80.53 kB / 329 MB, free: 13.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001072/0.006256, allocations: 184.3 kB / 329.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.006357, allocations: 53.42 kB / 329.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.006386, allocations: 9.375 kB / 329.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006389, allocations: 1.953 kB / 329.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006393, allocations: 0 / 329.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.006398, allocations: 7.875 kB / 329.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.096e-05/0.006478, allocations: 107.4 kB / 329.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.006481, allocations: 1.125 kB / 329.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.006524, allocations: 2.031 kB / 329.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.006527, allocations: 1.062 kB / 329.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006534, allocations: 1.062 kB / 329.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.006536, allocations: 256 / 329.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006537, allocations: 4.703 kB / 329.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.006674, allocations: 83.33 kB / 329.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.006685, allocations: 9.234 kB / 329.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.0067, allocations: 8.859 kB / 329.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.00672, allocations: 2.75 kB / 329.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.006723, allocations: 1.688 kB / 329.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.006728, allocations: 0 / 329.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.386e-05/0.006771, allocations: 82.67 kB / 329.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006771, allocations: 0 / 329.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.006993, allocations: 7.438 kB / 329.5 MB, free: 12.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0001041/0.007097, allocations: 106.5 kB / 329.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.007169, allocations: 9.078 kB / 329.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007171, allocations: 0 / 329.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.007171, allocations: 0 / 329.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.007394, allocations: 26.67 kB / 329.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.007656, allocations: 111 kB / 329.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.00771, allocations: 62.7 kB / 329.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.007724, allocations: 5.672 kB / 329.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.007748, allocations: 9.531 kB / 329.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.007748, allocations: 0 / 329.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002547/0.0103, allocations: 275.8 kB / 330.1 MB, free: 12.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.268405131995678]