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.001248/0.001248, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001226/0.001227, allocations: 192 kB / 18.62 MB, free: 4.434 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.53/1.53, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 56.59 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 49.43 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002814/0.1234, allocations: 1.431 MB / 352.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002772/0.1237, allocations: 101.2 kB / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.1237, allocations: 0 / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.1238, allocations: 3.938 kB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.1238, allocations: 3.938 kB / 353 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1241, allocations: 31.91 kB / 353.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.1242, allocations: 19.98 kB / 353.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1243, allocations: 11.98 kB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.1244, allocations: 11.94 kB / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.1244, allocations: 15.86 kB / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1244, allocations: 4 kB / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.1245, allocations: 4 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1245, allocations: 4 kB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.1245, allocations: 15.88 kB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.1246, allocations: 27.89 kB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1246, allocations: 0 / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1246, allocations: 3.938 kB / 353.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1246, allocations: 0 / 353.2 MB, free: 2.016 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.0004041/0.1251, allocations: 343.4 kB / 353.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1251, allocations: 11.89 kB / 353.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.1251, allocations: 12.84 kB / 353.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1254, allocations: 172.4 kB / 353.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1254, allocations: 384 / 353.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1254, allocations: 4.375 kB / 353.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1257, allocations: 111.8 kB / 353.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1257, allocations: 4.188 kB / 353.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1257, allocations: 7.875 kB / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1257, allocations: 0 / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.1258, allocations: 15.98 kB / 353.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.126, allocations: 157.7 kB / 354 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1261, allocations: 50.55 kB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.1262, allocations: 28.92 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1262, allocations: 3.938 kB / 354.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1262, allocations: 38.55 kB / 354.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.1263, allocations: 0 / 354.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.1265, allocations: 73.55 kB / 354.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1265, allocations: 51.41 kB / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.1266, allocations: 113.8 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1266, allocations: 25.7 kB / 354.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.1267, allocations: 84.14 kB / 354.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.1267, allocations: 7.984 kB / 354.5 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1267, allocations: 17.72 kB / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.1268, allocations: 310.8 kB / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.1268, allocations: 0 / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.1269, allocations: 39.36 kB / 354.8 MB, free: 132 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.1269, allocations: 31.44 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1269, allocations: 0 / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.675e-05/0.127, allocations: 61.59 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.127, allocations: 12 kB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.127, allocations: 3.938 kB / 354.9 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.127, allocations: 0 / 354.9 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.1271, allocations: 8.047 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1271, allocations: 0 / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.1272, allocations: 4 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1272, allocations: 4 kB / 354.9 MB, free: 15.98 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 8.292e-05/0.1273, allocations: 121.7 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.1274, allocations: 61.56 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.1274, allocations: 11.84 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1274, allocations: 7.938 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1274, allocations: 0 / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1274, allocations: 0 / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1275, allocations: 157.7 kB / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1275, allocations: 0 / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.1276, allocations: 4 kB / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1276, allocations: 4 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1276, allocations: 3.938 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1276, allocations: 0 / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1276, allocations: 4 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1278, allocations: 92.89 kB / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1278, allocations: 77.11 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1278, allocations: 11.92 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.1279, allocations: 0 / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-06/0.1279, allocations: 0 / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1279, allocations: 4.25 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.1279, allocations: 91.28 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.128, allocations: 0 / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.1281, allocations: 4 kB / 355.6 MB, free: 15.23 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.0001049/0.1283, allocations: 103.2 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1284, allocations: 23.92 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1284, allocations: 4 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.1284, allocations: 256 / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1286, allocations: 20.5 kB / 355.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.1289, allocations: 117.5 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1292, allocations: 0.6807 MB / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.549e-05/0.1292, allocations: 3.906 kB / 356.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.1292, allocations: 11.44 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1292, allocations: 0 / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of Templates: time 0.002262/0.1315, allocations: 328.5 kB / 356.9 MB, free: 13.89 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 -s cvode -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