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.001256/0.001257, allocations: 112.9 kB / 16.63 MB, free: 6.812 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.001306/0.001307, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.398/1.398, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009397/0.0009397, allocations: 47.14 kB / 300.1 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1063, allocations: 49.45 MB / 349.6 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00267/0.1091, allocations: 1.487 MB / 351.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.1093, allocations: 99.62 kB / 351.2 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.1094, allocations: 4 kB / 351.2 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.1094, allocations: 0 / 351.2 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.1095, allocations: 3.938 kB / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1097, allocations: 20.84 kB / 351.2 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.1098, allocations: 23.94 kB / 351.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1099, allocations: 15.98 kB / 351.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.11, allocations: 7.938 kB / 351.2 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.11, allocations: 15.91 kB / 351.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1101, allocations: 4 kB / 351.3 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.1101, allocations: 0 / 351.3 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1101, allocations: 11.94 kB / 351.3 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.1101, allocations: 11.94 kB / 351.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.389e-05/0.1102, allocations: 19.91 kB / 351.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1102, allocations: 0 / 351.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1102, allocations: 0 / 351.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1102, allocations: 0 / 351.3 MB, free: 2.984 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.0004441/0.1107, allocations: 351.7 kB / 351.6 MB, free: 2.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1107, allocations: 11.89 kB / 351.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1108, allocations: 8.844 kB / 351.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.111, allocations: 180.3 kB / 351.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.111, allocations: 384 / 351.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.111, allocations: 4.375 kB / 351.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1113, allocations: 111.8 kB / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.1113, allocations: 192 / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1113, allocations: 3.938 kB / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1113, allocations: 0 / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.1114, allocations: 19.98 kB / 352 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1116, allocations: 157.7 kB / 352.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1117, allocations: 62.48 kB / 352.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.1118, allocations: 20.89 kB / 352.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1118, allocations: 4.031 kB / 352.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1119, allocations: 30.56 kB / 352.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.1119, allocations: 0 / 352.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002207/0.1121, allocations: 81.53 kB / 352.3 MB, free: 1.781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1121, allocations: 59.34 kB / 352.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.1122, allocations: 113.8 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1123, allocations: 25.7 kB / 352.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1123, allocations: 80.14 kB / 352.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.1123, allocations: 0 / 352.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.1123, allocations: 17.72 kB / 352.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1125, allocations: 322.8 kB / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.1125, allocations: 4 kB / 352.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.1125, allocations: 23.44 kB / 353 MB, free: 1.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.1126, allocations: 35.38 kB / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1126, allocations: 0 / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.106e-05/0.1126, allocations: 61.53 kB / 353.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1127, allocations: 4 kB / 353.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1127, allocations: 7.938 kB / 353.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1127, allocations: 0 / 353.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.1127, allocations: 7.984 kB / 353.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1128, allocations: 7.938 kB / 353.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1128, allocations: 4 kB / 353.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.1128, allocations: 4 kB / 353.1 MB, free: 0.9414 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.125e-05/0.1129, allocations: 113.9 kB / 353.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.113, allocations: 57.69 kB / 353.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.113, allocations: 11.83 kB / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.113, allocations: 0 / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.113, allocations: 0 / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1131, allocations: 4 kB / 353.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.1132, allocations: 149.7 kB / 353.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1132, allocations: 4 kB / 353.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.1132, allocations: 7.984 kB / 353.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1132, allocations: 7.938 kB / 353.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1132, allocations: 7.938 kB / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1132, allocations: 256 / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1132, allocations: 0 / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1134, allocations: 85.02 kB / 353.5 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.1134, allocations: 81.11 kB / 353.6 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1135, allocations: 7.938 kB / 353.6 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.1135, allocations: 11.94 kB / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-06/0.1135, allocations: 0 / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1135, allocations: 0 / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.1135, allocations: 83.27 kB / 353.7 MB, free: 216 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1136, allocations: 0 / 353.7 MB, free: 216 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001788/0.1137, allocations: 8 kB / 353.7 MB, free: 208 kB / 286.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 9.988e-05/0.1138, allocations: 103.2 kB / 353.8 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.114, allocations: 31.86 kB / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.114, allocations: 0 / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.114, allocations: 0 / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1142, allocations: 30.36 kB / 353.9 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.1145, allocations: 118.3 kB / 354 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1147, allocations: 0.677 MB / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.1147, allocations: 12.16 kB / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.1148, allocations: 7.438 kB / 354.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1148, allocations: 0 / 354.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002065/0.1168, allocations: 328.5 kB / 355 MB, free: 14.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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