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.001724/0.001724, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002161/0.002161, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.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 0.001906/0.001906, allocations: 67.91 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2944, allocations: 53.41 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003106/0.2975, allocations: 1.458 MB / 433.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003471/0.2979, allocations: 99.62 kB / 433.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.2979, allocations: 0 / 433.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.298, allocations: 3.938 kB / 433.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.298, allocations: 4 kB / 433.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2983, allocations: 23.91 kB / 433.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.2984, allocations: 19.94 kB / 433.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2985, allocations: 15.97 kB / 433.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.2986, allocations: 7.938 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.2986, allocations: 15.92 kB / 433.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2987, allocations: 4 kB / 433.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.2987, allocations: 0 / 433.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.2987, allocations: 7.938 kB / 433.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2987, allocations: 7.938 kB / 433.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2988, allocations: 31.55 kB / 433.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2988, allocations: 4 kB / 433.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2988, allocations: 0 / 433.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2988, allocations: 0 / 433.3 MB, free: 4.801 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.0005139/0.2994, allocations: 272.9 kB / 433.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2994, allocations: 11.98 kB / 433.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.2994, allocations: 12.83 kB / 433.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.2997, allocations: 118.5 kB / 433.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2997, allocations: 4.375 kB / 433.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2997, allocations: 384 / 433.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.3001, allocations: 107.9 kB / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3001, allocations: 192 / 433.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.3001, allocations: 3.938 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3002, allocations: 4 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.3002, allocations: 11.98 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.3004, allocations: 109.3 kB / 434 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3006, allocations: 66.5 kB / 434 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.3006, allocations: 24.89 kB / 434.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3007, allocations: 0 / 434.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3007, allocations: 34.56 kB / 434.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3007, allocations: 0 / 434.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002648/0.301, allocations: 73.55 kB / 434.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.301, allocations: 55.34 kB / 434.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3011, allocations: 109.8 kB / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3011, allocations: 29.7 kB / 434.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.3012, allocations: 84.14 kB / 434.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-06/0.3012, allocations: 4 kB / 434.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3012, allocations: 21.64 kB / 434.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3014, allocations: 314.8 kB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.3014, allocations: 4 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.3015, allocations: 27.42 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.3015, allocations: 35.38 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3015, allocations: 4 kB / 434.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.183e-05/0.3016, allocations: 57.58 kB / 434.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3016, allocations: 4 kB / 434.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3016, allocations: 4 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3016, allocations: 3.938 kB / 434.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.3017, allocations: 11.94 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3017, allocations: 0 / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.3017, allocations: 4 kB / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3017, allocations: 4.125 kB / 434.9 MB, free: 3 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001111/0.3019, allocations: 113.8 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.302, allocations: 57.67 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.302, allocations: 4 kB / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.302, allocations: 3.938 kB / 435.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.302, allocations: 4 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.302, allocations: 0 / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.446e-05/0.3021, allocations: 109.2 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3021, allocations: 0 / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.3021, allocations: 4 kB / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3022, allocations: 8 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3022, allocations: 0 / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3022, allocations: 0 / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3022, allocations: 4.188 kB / 435.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3023, allocations: 85.06 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.3023, allocations: 4 kB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3023, allocations: 8.359 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.3024, allocations: 4 kB / 435.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-06/0.3024, allocations: 3.938 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3024, allocations: 4 kB / 435.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.3024, allocations: 83.28 kB / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3024, allocations: 0 / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.3026, allocations: 8 kB / 435.4 MB, free: 2.43 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: 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.0001219/0.3027, allocations: 107.1 kB / 435.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.3029, allocations: 27.91 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3029, allocations: 0 / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.3029, allocations: 0 / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3031, allocations: 24.19 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.0003247/0.3034, allocations: 128.9 kB / 435.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.316e-05/0.3035, allocations: 63.34 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.3035, allocations: 0 / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.3035, allocations: 11.44 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3035, allocations: 0 / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of Templates: time 0.003049/0.3066, allocations: 338.5 kB / 436.1 MB, free: 1.695 MB / 334.1 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.503792390227318]