Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001214/0.001214, allocations: 92.28 kB / 21.44 MB, free: 3.117 MB / 18.57 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.007005/0.007005, allocations: 150.5 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.9189/0.9189, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.723e-05, allocations: 7.203 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002314/0.002341, allocations: 1.455 MB / 327.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.002599, allocations: 95.61 kB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.002659, allocations: 0 / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.002689, allocations: 7.875 kB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/0.002723, allocations: 7.938 kB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.002983, allocations: 31.91 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.003068, allocations: 23.92 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.003182, allocations: 4 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.003233, allocations: 19.91 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.003276, allocations: 8 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.003302, allocations: 4 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-06/0.003311, allocations: 0 / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.003332, allocations: 7.984 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.003358, allocations: 7.938 kB / 327.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003466, allocations: 27.89 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003468, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003469, allocations: 4 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.003473, allocations: 0 / 327.5 MB, free: 13.69 MB / 298.7 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.0004071/0.003881, allocations: 270.3 kB / 327.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.003922, allocations: 15.92 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.003957, allocations: 8.891 kB / 327.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.004144, allocations: 109.8 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004156, allocations: 8.375 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.004166, allocations: 384 / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.004439, allocations: 103.9 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004448, allocations: 192 / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004458, allocations: 8.312 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.004465, allocations: 4.375 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.004521, allocations: 19.92 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.004633, allocations: 109.3 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.004763, allocations: 62.52 kB / 328.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.004804, allocations: 28.88 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.004824, allocations: 0 / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.004847, allocations: 34.56 kB / 328.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004847, allocations: 0 / 328.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001496/0.004997, allocations: 69.61 kB / 328.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.00503, allocations: 51.41 kB / 328.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.005085, allocations: 109.8 kB / 328.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.005093, allocations: 25.7 kB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.00512, allocations: 88.14 kB / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.005122, allocations: 4 kB / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.005139, allocations: 9.719 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.00521, allocations: 322.8 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.005214, allocations: 0 / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-06/0.005216, allocations: 3.938 kB / 328.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.005237, allocations: 75.28 kB / 329 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.005252, allocations: 75.28 kB / 329.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.949e-05/0.005282, allocations: 29.7 kB / 329.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.005306, allocations: 83.22 kB / 329.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.005322, allocations: 79.28 kB / 329.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.816e-05/0.00536, allocations: 154.6 kB / 329.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.005376, allocations: 79.22 kB / 329.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/0.005406, allocations: 150.6 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.005448, allocations: 91.14 kB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.005463, allocations: 79.28 kB / 329.8 MB, free: 11.19 MB / 298.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: 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 5.817e-05/0.005522, allocations: 185.1 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.005581, allocations: 57.64 kB / 330 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.005603, allocations: 7.984 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.005606, allocations: 4 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.005609, allocations: 0 / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.005613, allocations: 7.938 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.715e-05/0.00566, allocations: 105.3 kB / 330.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.005663, allocations: 3.938 kB / 330.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.005725, allocations: 11.92 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.005728, allocations: 4 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.005733, allocations: 0 / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005735, allocations: 256 / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005736, allocations: 0 / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/0.00581, allocations: 85.05 kB / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.005819, allocations: 11.95 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.005827, allocations: 4 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-06/0.005836, allocations: 0 / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.005839, allocations: 4 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.005842, allocations: 0 / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.005869, allocations: 87.27 kB / 330.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.005869, allocations: 0 / 330.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.006, allocations: 4 kB / 330.4 MB, free: 10.55 MB / 298.7 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 6.466e-05/0.006064, allocations: 99.12 kB / 330.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.237e-05/0.006117, allocations: 23.98 kB / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006118, allocations: 0 / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.006118, allocations: 0 / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.006279, allocations: 20.3 kB / 330.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.00647, allocations: 138.8 kB / 330.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.006505, allocations: 67.28 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.006526, allocations: 12.5 kB / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.006526, allocations: 3.938 kB / 330.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of Templates: time 0.001169/0.007695, allocations: 0.5337 MB / 331.2 MB, free: 9.598 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.142433929257095]