Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.58 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.09994, allocations: 49.44 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002807/0.1028, allocations: 1.425 MB / 352.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002666/0.1031, allocations: 99.62 kB / 352.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.1032, allocations: 4 kB / 352.3 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.1032, allocations: 3.938 kB / 352.3 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.1033, allocations: 7.922 kB / 352.3 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1035, allocations: 21.86 kB / 352.3 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.1036, allocations: 23.92 kB / 352.3 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1037, allocations: 12 kB / 352.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.1038, allocations: 11.92 kB / 352.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.1038, allocations: 15.92 kB / 352.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1038, allocations: 4 kB / 352.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.1039, allocations: 0 / 352.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.1039, allocations: 11.92 kB / 352.4 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.1039, allocations: 7.938 kB / 352.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.149e-05/0.104, allocations: 31.91 kB / 352.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.104, allocations: 0 / 352.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.104, allocations: 0 / 352.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.104, allocations: 4 kB / 352.4 MB, free: 2.75 MB / 286.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.0004399/0.1045, allocations: 339.7 kB / 352.7 MB, free: 2.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1045, allocations: 15.83 kB / 352.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.1046, allocations: 8.828 kB / 352.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1048, allocations: 176.4 kB / 352.9 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.1048, allocations: 384 / 352.9 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1048, allocations: 4.375 kB / 352.9 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1051, allocations: 117.2 kB / 353.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1051, allocations: 192 / 353.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1051, allocations: 7.938 kB / 353.1 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1051, allocations: 0 / 353.1 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.1052, allocations: 11.98 kB / 353.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1054, allocations: 157.7 kB / 353.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1055, allocations: 58.5 kB / 353.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.1056, allocations: 24.92 kB / 353.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1056, allocations: 4 kB / 353.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1057, allocations: 30.56 kB / 353.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1057, allocations: 0 / 353.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002338/0.1059, allocations: 81.53 kB / 353.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.106, allocations: 63.33 kB / 353.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.1061, allocations: 101.9 kB / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1061, allocations: 25.7 kB / 353.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.1061, allocations: 88.12 kB / 353.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.1061, allocations: 0 / 353.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1062, allocations: 17.72 kB / 353.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1063, allocations: 322.8 kB / 354 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.1063, allocations: 3.984 kB / 354 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.1063, allocations: 27.44 kB / 354.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.1064, allocations: 39.38 kB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1064, allocations: 0 / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.568e-05/0.1065, allocations: 57.53 kB / 354.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1065, allocations: 4 kB / 354.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1065, allocations: 4.188 kB / 354.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1065, allocations: 4 kB / 354.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.1066, allocations: 11.94 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1066, allocations: 4 kB / 354.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.1066, allocations: 128 / 354.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.1066, allocations: 4 kB / 354.2 MB, free: 0.7188 MB / 286.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.601e-05/0.1067, allocations: 125.8 kB / 354.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1068, allocations: 53.69 kB / 354.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.1069, allocations: 11.84 kB / 354.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1069, allocations: 0 / 354.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1069, allocations: 0 / 354.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1069, allocations: 7.922 kB / 354.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.516e-05/0.107, allocations: 153.7 kB / 354.5 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.107, allocations: 4 kB / 354.5 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.1071, allocations: 8 kB / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1071, allocations: 0 / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1071, allocations: 3.938 kB / 354.5 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1071, allocations: 3.984 kB / 354.5 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1071, allocations: 4 kB / 354.6 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1073, allocations: 81.03 kB / 354.6 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1073, allocations: 85.09 kB / 354.7 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1073, allocations: 3.938 kB / 354.7 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.725e-05/0.1074, allocations: 4 kB / 354.7 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-06/0.1074, allocations: 3.938 kB / 354.7 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1074, allocations: 0 / 354.7 MB, free: 68 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.538e-05/0.1075, allocations: 83.28 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1075, allocations: 0 / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1077, allocations: 4 kB / 354.8 MB, free: 15.98 MB / 302.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.0001141/0.1078, allocations: 111.1 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1079, allocations: 27.98 kB / 354.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1079, allocations: 0 / 354.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.1079, allocations: 3.938 kB / 355 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.1082, allocations: 19.98 kB / 355 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.1085, allocations: 139.5 kB / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1088, allocations: 0.6884 MB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1088, allocations: 7.438 kB / 355.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1088, allocations: 0 / 355.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Templates: time 0.002028/0.1109, allocations: 0.5589 MB / 356.4 MB, free: 14.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches