Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001965/0.001965, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002385/0.002385, allocations: 161.7 kB / 24.27 MB, free: 172 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.589e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003169/0.003205, allocations: 1.45 MB / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.003421, allocations: 31.91 kB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.003491, allocations: 0 / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.003524, allocations: 3.938 kB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.003566, allocations: 3.938 kB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.003853, allocations: 27.91 kB / 273.8 MB, free: 308 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003956, allocations: 31.86 kB / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.004058, allocations: 7.984 kB / 273.9 MB, free: 268 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.004131, allocations: 12 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.00418, allocations: 11.97 kB / 273.9 MB, free: 244 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.004202, allocations: 4 kB / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.004211, allocations: 4 kB / 273.9 MB, free: 236 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.004234, allocations: 11.94 kB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.004268, allocations: 3.984 kB / 273.9 MB, free: 220 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.004385, allocations: 31.89 kB / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004387, allocations: 0 / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004388, allocations: 0 / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004392, allocations: 0 / 274 MB, free: 188 kB / 250.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.0005175/0.00491, allocations: 274.3 kB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.00496, allocations: 12.03 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.00502, allocations: 8.891 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.005276, allocations: 121.7 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.005298, allocations: 4.375 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.005308, allocations: 384 / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.005713, allocations: 123.8 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005724, allocations: 4.172 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005734, allocations: 384 / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.005742, allocations: 4.375 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.005875, allocations: 27.91 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.006038, allocations: 105.3 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.006227, allocations: 58.48 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.006314, allocations: 24.92 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.006326, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.006367, allocations: 38.55 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.006368, allocations: 0 / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003245/0.006692, allocations: 89.48 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.006756, allocations: 51.41 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.006878, allocations: 113.8 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.006898, allocations: 25.7 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.006952, allocations: 88.14 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.006962, allocations: 0 / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.007003, allocations: 17.72 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.007172, allocations: 310.8 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.007183, allocations: 0 / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.007197, allocations: 11.98 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.007224, allocations: 8.859 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007226, allocations: 0 / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.54e-05/0.007301, allocations: 45.59 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.007315, allocations: 4 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.00732, allocations: 4.344 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.007335, allocations: 4 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.007392, allocations: 4 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.007397, allocations: 0 / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.007415, allocations: 7.938 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.00742, allocations: 3.984 kB / 275.5 MB, free: 14.44 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.842e-05/0.007519, allocations: 109.8 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.007683, allocations: 61.67 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.00771, allocations: 11.94 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.007712, allocations: 4 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.007716, allocations: 4 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.007721, allocations: 3.938 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.007958, allocations: 105.2 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007959, allocations: 0 / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.008024, allocations: 11.98 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.008027, allocations: 0 / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.008037, allocations: 7.938 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008038, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008039, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.008252, allocations: 101.2 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.00826, allocations: 0 / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.008277, allocations: 8 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.00831, allocations: 3.984 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-06/0.008316, allocations: 4 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.00832, allocations: 0 / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.936e-05/0.008379, allocations: 87.22 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008379, allocations: 0 / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.008561, allocations: 4 kB / 276 MB, free: 13.86 MB / 266.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001325/0.008694, allocations: 103.2 kB / 276.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.008835, allocations: 23.98 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008836, allocations: 0 / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.008837, allocations: 0 / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.009131, allocations: 29.42 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.009497, allocations: 123.1 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.404e-05/0.009571, allocations: 67.33 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.215e-05/0.009593, allocations: 0 / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.009628, allocations: 12.5 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.009629, allocations: 0 / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003035/0.01266, allocations: 448.8 kB / 276.8 MB, free: 13.01 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.383115837001242]