Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001706/0.001706, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00199/0.00199, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.89 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2913, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002592/0.2939, allocations: 1.446 MB / 433.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.294, allocations: 27.91 kB / 433.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.2941, allocations: 0 / 433.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.2941, allocations: 3.938 kB / 433.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.675e-05/0.2941, allocations: 7.938 kB / 433.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.2943, allocations: 19.97 kB / 433.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.2944, allocations: 35.86 kB / 433.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.2945, allocations: 8 kB / 433.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.2945, allocations: 11.92 kB / 433.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.494e-05/0.2945, allocations: 15.92 kB / 433.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2946, allocations: 4 kB / 433.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.2946, allocations: 4 kB / 433.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.2946, allocations: 7.984 kB / 433.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.2946, allocations: 11.94 kB / 433.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.435e-05/0.2947, allocations: 26.42 kB / 433.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2947, allocations: 7.938 kB / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2947, allocations: 0 / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2947, allocations: 4 kB / 433.3 MB, free: 4.879 MB / 334.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.0003596/0.2951, allocations: 270 kB / 433.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2951, allocations: 11.98 kB / 433.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.2951, allocations: 16.83 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.2953, allocations: 114.5 kB / 433.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2953, allocations: 12.36 kB / 433.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2953, allocations: 384 / 433.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.2957, allocations: 123.8 kB / 433.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2957, allocations: 192 / 433.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2957, allocations: 3.938 kB / 433.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2957, allocations: 0 / 433.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.2959, allocations: 27.97 kB / 433.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.296, allocations: 101.3 kB / 433.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.2962, allocations: 58.48 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.2963, allocations: 24.92 kB / 434 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.2964, allocations: 0 / 434 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.2964, allocations: 38.55 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.2964, allocations: 0 / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003264/0.2967, allocations: 85.59 kB / 434.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.2968, allocations: 59.34 kB / 434.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2969, allocations: 105.8 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2969, allocations: 25.7 kB / 434.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.297, allocations: 84.14 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.297, allocations: 0 / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.297, allocations: 17.72 kB / 434.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2972, allocations: 318.8 kB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.2972, allocations: 8 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.2973, allocations: 23.44 kB / 434.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.2973, allocations: 43.38 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2973, allocations: 0 / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001331/0.2975, allocations: 61.58 kB / 434.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2975, allocations: 6.344 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2975, allocations: 4 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2975, allocations: 7.875 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.2976, allocations: 20.05 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2976, allocations: 0 / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.2976, allocations: 7.938 kB / 434.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-06/0.2976, allocations: 0 / 434.9 MB, free: 3.035 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001048/0.2977, allocations: 117.8 kB / 435 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.2979, allocations: 69.62 kB / 435.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.298, allocations: 4 kB / 435.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.298, allocations: 4.172 kB / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.298, allocations: 384 / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.298, allocations: 3.984 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.2981, allocations: 109.3 kB / 435.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2981, allocations: 4 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.2982, allocations: 15.92 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2982, allocations: 0 / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.2982, allocations: 4 kB / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2982, allocations: 0 / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.2982, allocations: 3.938 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.2985, allocations: 89.09 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.2985, allocations: 7.953 kB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2985, allocations: 4 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.2986, allocations: 4 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-06/0.2986, allocations: 7.938 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2986, allocations: 0 / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.805e-05/0.2986, allocations: 83.27 kB / 435.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2986, allocations: 0 / 435.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.2989, allocations: 8 kB / 435.4 MB, free: 2.434 MB / 334.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: 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.0001876/0.2991, allocations: 95.25 kB / 435.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.2993, allocations: 31.92 kB / 435.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2993, allocations: 256 / 435.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.2993, allocations: 4 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2996, allocations: 34.61 kB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.2999, allocations: 121.5 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.246e-05/0.3, allocations: 67.34 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.478e-05/0.3, allocations: 0 / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.3, allocations: 7.438 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3, allocations: 0 / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of Templates: time 0.003227/0.3033, allocations: 483.5 kB / 436.3 MB, free: 1.562 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.492834618315101]