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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB 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.001941/0.001941, allocations: 67.17 kB / 307.9 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.1007, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002853/0.1035, allocations: 1.438 MB / 359.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.1038, allocations: 97.3 kB / 360 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.1039, allocations: 4 kB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.104, allocations: 3.938 kB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.104, allocations: 3.938 kB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1042, allocations: 27.45 kB / 360 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.1043, allocations: 23.92 kB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.1044, allocations: 8 kB / 360 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.1045, allocations: 19.92 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.1045, allocations: 11.92 kB / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1045, allocations: 4 kB / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.1046, allocations: 0 / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.1046, allocations: 11.94 kB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.1046, allocations: 11.92 kB / 360.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.339e-05/0.1047, allocations: 27.91 kB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1047, allocations: 0 / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1047, allocations: 0 / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1047, allocations: 0 / 360.1 MB, free: 12.23 MB / 302.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.0004392/0.1052, allocations: 351.6 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1052, allocations: 8.031 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.1053, allocations: 4.844 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1055, allocations: 176.4 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1055, allocations: 4.375 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1055, allocations: 384 / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.1058, allocations: 111.8 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1059, allocations: 192 / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1059, allocations: 7.938 kB / 360.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1059, allocations: 0 / 360.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.106, allocations: 15.98 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.1061, allocations: 153.7 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1063, allocations: 62.48 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.1064, allocations: 24.92 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1064, allocations: 0 / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1064, allocations: 34.5 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1064, allocations: 0 / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002304/0.1067, allocations: 73.55 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1067, allocations: 67.34 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.1068, allocations: 105.8 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1069, allocations: 25.7 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.1069, allocations: 84.14 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.1069, allocations: 0 / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.107, allocations: 17.7 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1071, allocations: 314.8 kB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.1071, allocations: 4 kB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.1072, allocations: 35.61 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.1072, allocations: 31.38 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1072, allocations: 0 / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.683e-05/0.1073, allocations: 65.53 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1074, allocations: 4 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1074, allocations: 3.938 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1074, allocations: 8.031 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.1074, allocations: 7.984 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1074, allocations: 4 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1075, allocations: 256 / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.1075, allocations: 0 / 361.9 MB, free: 10.21 MB / 302.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 9.965e-05/0.1076, allocations: 125.9 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1077, allocations: 57.67 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.1077, allocations: 11.84 kB / 362.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1078, allocations: 3.938 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1078, allocations: 0 / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1078, allocations: 0 / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1079, allocations: 157.7 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1079, allocations: 0 / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.108, allocations: 8 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.108, allocations: 0 / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.108, allocations: 7.938 kB / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.108, allocations: 0 / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.108, allocations: 4 kB / 362.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1081, allocations: 85.02 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1082, allocations: 81.05 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1082, allocations: 3.938 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.1083, allocations: 7.984 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-06/0.1083, allocations: 4 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1083, allocations: 0 / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.909e-05/0.1083, allocations: 83.28 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1083, allocations: 3.938 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1085, allocations: 4 kB / 362.5 MB, free: 9.465 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.0001047/0.1086, allocations: 95.25 kB / 362.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1088, allocations: 31.91 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1088, allocations: 8.188 kB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.1088, allocations: 0 / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.109, allocations: 22.62 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.1093, allocations: 147.1 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1096, allocations: 0.6846 MB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.1096, allocations: 7.438 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1097, allocations: 4 kB / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of Templates: time 0.001988/0.1116, allocations: 0.5473 MB / 364.1 MB, free: 7.855 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches