Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, 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.00134/0.00134, 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.43/1.43, 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.001956/0.001956, allocations: 70.89 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003006/0.1106, allocations: 1.437 MB / 359.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.1109, allocations: 97.3 kB / 360 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.111, allocations: 4 kB / 360 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.111, allocations: 0 / 360 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1111, allocations: 7.938 kB / 360 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1113, allocations: 23.91 kB / 360 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.1114, allocations: 23.92 kB / 360 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1115, allocations: 11.98 kB / 360 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.1116, allocations: 7.938 kB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.1116, allocations: 15.92 kB / 360.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1116, allocations: 4 kB / 360.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.1117, allocations: 0 / 360.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.1117, allocations: 4 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1117, allocations: 19.88 kB / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.337e-05/0.1118, allocations: 23.91 kB / 360.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1118, allocations: 0 / 360.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1118, allocations: 0 / 360.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1118, allocations: 3.984 kB / 360.1 MB, free: 12.26 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.000458/0.1123, allocations: 339.7 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1124, allocations: 8.031 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1124, allocations: 8.844 kB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1126, allocations: 172.4 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1126, allocations: 4.375 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1127, allocations: 4.375 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.113, allocations: 99.88 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.113, allocations: 192 / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.113, allocations: 3.938 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.113, allocations: 0 / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.1131, allocations: 23.92 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.1133, allocations: 153.7 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1134, allocations: 42.56 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.1135, allocations: 24.92 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1135, allocations: 0 / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1135, allocations: 30.56 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1135, allocations: 4 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002145/0.1138, allocations: 73.61 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.1138, allocations: 63.36 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.1139, allocations: 97.86 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.114, allocations: 29.7 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.114, allocations: 84.14 kB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.1141, allocations: 3.984 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.1141, allocations: 21.72 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1143, allocations: 310.8 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.1143, allocations: 4 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1143, allocations: 31.42 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.1144, allocations: 39.38 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1144, allocations: 3.938 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.103e-05/0.1145, allocations: 57.56 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1145, allocations: 4 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1145, allocations: 3.938 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1145, allocations: 4 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.1146, allocations: 0 / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1146, allocations: 4.125 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.1146, allocations: 4 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1146, allocations: 256 / 361.8 MB, free: 10.28 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 0.0001057/0.1147, allocations: 121.8 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1148, allocations: 61.52 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.1149, allocations: 11.44 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1149, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1149, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1149, allocations: 4 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.115, allocations: 153.7 kB / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.115, allocations: 4 kB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.1151, allocations: 0 / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1151, allocations: 0 / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1151, allocations: 7.922 kB / 362.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1151, allocations: 0 / 362.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1151, allocations: 4 kB / 362.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1152, allocations: 77.06 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1153, allocations: 85.02 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1153, allocations: 3.938 kB / 362.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.1153, allocations: 7.984 kB / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.1153, allocations: 0 / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1154, allocations: 0 / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.1154, allocations: 83.28 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1154, allocations: 0 / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002029/0.1156, allocations: 4 kB / 362.4 MB, free: 9.555 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.0001029/0.1157, allocations: 95.25 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1159, allocations: 39.86 kB / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1159, allocations: 0 / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1159, allocations: 0 / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1161, allocations: 28.92 kB / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.1164, allocations: 143.1 kB / 362.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1167, allocations: 0.6848 MB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1168, allocations: 7.438 kB / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1168, allocations: 0 / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of Templates: time 0.002189/0.119, allocations: 0.543 MB / 364 MB, free: 7.957 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches