Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001539/0.001539, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001817/0.001817, allocations: 218.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.83 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 53.31 MB / 432 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002715/0.2969, allocations: 1.469 MB / 433.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002903/0.2972, allocations: 95.73 kB / 433.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.2972, allocations: 0 / 433.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.2973, allocations: 3.938 kB / 433.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.2973, allocations: 3.938 kB / 433.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.2975, allocations: 19.97 kB / 433.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.2976, allocations: 23.92 kB / 433.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2977, allocations: 15.98 kB / 433.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2978, allocations: 15.92 kB / 433.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.2978, allocations: 7.938 kB / 433.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2978, allocations: 4 kB / 433.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.2978, allocations: 0 / 433.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2978, allocations: 11.88 kB / 433.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.2979, allocations: 19.86 kB / 433.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.298, allocations: 25.45 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.298, allocations: 0 / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.298, allocations: 0 / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.298, allocations: 0 / 433.7 MB, free: 5.738 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.0004543/0.2984, allocations: 347.4 kB / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2985, allocations: 12.03 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.2985, allocations: 4.891 kB / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.2988, allocations: 180.3 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2988, allocations: 384 / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.2988, allocations: 8.375 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.2991, allocations: 103.9 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2991, allocations: 4.188 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2991, allocations: 3.938 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2991, allocations: 0 / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.2992, allocations: 19.92 kB / 434.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.2994, allocations: 165.5 kB / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2995, allocations: 54.56 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.2996, allocations: 20.92 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2996, allocations: 0 / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2996, allocations: 34.56 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2996, allocations: 0 / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002388/0.2999, allocations: 81.53 kB / 434.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.2999, allocations: 51.41 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.3, allocations: 105.9 kB / 434.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3, allocations: 29.7 kB / 434.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.3001, allocations: 88.12 kB / 435 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.3001, allocations: 0 / 435 MB, free: 4.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.3001, allocations: 17.72 kB / 435 MB, free: 4.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3003, allocations: 318.8 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.3003, allocations: 7.984 kB / 435.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.3003, allocations: 23.88 kB / 435.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.3003, allocations: 35.38 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3003, allocations: 4 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.373e-05/0.3004, allocations: 61.61 kB / 435.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3004, allocations: 10.97 kB / 435.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3005, allocations: 7.922 kB / 435.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3005, allocations: 0 / 435.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.3005, allocations: 8 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3005, allocations: 0 / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.3005, allocations: 3.984 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.3006, allocations: 16.06 kB / 435.5 MB, free: 3.695 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 8.259e-05/0.3006, allocations: 109.8 kB / 435.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3007, allocations: 57.62 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.3008, allocations: 7.844 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3008, allocations: 4 kB / 435.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3008, allocations: 3.984 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3008, allocations: 0 / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3009, allocations: 153.7 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3009, allocations: 4 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.301, allocations: 8 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.301, allocations: 0 / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.301, allocations: 11.86 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.301, allocations: 0 / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.301, allocations: 0 / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.3011, allocations: 85.02 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3012, allocations: 81.09 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3012, allocations: 15.94 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.3012, allocations: 0 / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.3012, allocations: 0 / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3012, allocations: 4 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.3013, allocations: 87.27 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3013, allocations: 0 / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.3014, allocations: 8 kB / 436.2 MB, free: 2.961 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.000121/0.3016, allocations: 95.25 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.3017, allocations: 27.92 kB / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3017, allocations: 4 kB / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3017, allocations: 0 / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3019, allocations: 20.02 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3022, allocations: 143.2 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.3025, allocations: 0.6807 MB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.3025, allocations: 11.69 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3025, allocations: 0 / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Templates: time 0.001958/0.3045, allocations: 0.5585 MB / 437.7 MB, free: 1.355 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.725968210026622]