Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001228, 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.001284/0.001284, allocations: 190.9 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.446/1.446, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.09 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1108, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003252/0.1141, allocations: 1.417 MB / 352.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003342/0.1144, allocations: 105.2 kB / 353 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.1145, allocations: 0 / 353 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.1146, allocations: 3.938 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.1146, allocations: 3.938 kB / 353 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1149, allocations: 30.34 kB / 353.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.115, allocations: 23.92 kB / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1151, allocations: 8 kB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.1152, allocations: 7.938 kB / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.1152, allocations: 19.91 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1152, allocations: 8 kB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.1152, allocations: 0 / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1153, allocations: 4 kB / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1153, allocations: 11.88 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.1154, allocations: 27.84 kB / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1154, allocations: 0 / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1154, allocations: 0 / 353.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1154, allocations: 0 / 353.2 MB, free: 2.004 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.0004594/0.1159, allocations: 343.4 kB / 353.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.116, allocations: 15.83 kB / 353.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.116, allocations: 12.84 kB / 353.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1163, allocations: 168.4 kB / 353.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1163, allocations: 4.375 kB / 353.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1163, allocations: 4.375 kB / 353.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.1166, allocations: 99.86 kB / 353.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1166, allocations: 4.188 kB / 353.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1166, allocations: 3.938 kB / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1166, allocations: 0 / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.1167, allocations: 19.92 kB / 353.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1169, allocations: 153.7 kB / 354 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.117, allocations: 46.56 kB / 354 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1171, allocations: 24.92 kB / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1171, allocations: 0 / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1171, allocations: 34.56 kB / 354.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1171, allocations: 0 / 354.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000197/0.1173, allocations: 73.45 kB / 354.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1174, allocations: 55.41 kB / 354.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.888e-05/0.1175, allocations: 105.9 kB / 354.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1175, allocations: 25.7 kB / 354.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.1175, allocations: 88.12 kB / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.1176, allocations: 0 / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1176, allocations: 17.72 kB / 354.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1177, allocations: 318.8 kB / 354.7 MB, free: 200 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1177, allocations: 0 / 354.7 MB, free: 200 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.1178, allocations: 31.59 kB / 354.8 MB, free: 156 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.1178, allocations: 43.31 kB / 354.8 MB, free: 100 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1178, allocations: 0 / 354.8 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.54e-05/0.1179, allocations: 57.56 kB / 354.9 MB, free: 36 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1179, allocations: 4 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.1179, allocations: 12.06 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.118, allocations: 0 / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.118, allocations: 4 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.118, allocations: 0 / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.118, allocations: 4 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1181, allocations: 4 kB / 354.9 MB, free: 8 kB / 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 0.0001089/0.1182, allocations: 125.7 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.1183, allocations: 57.53 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.1183, allocations: 11.44 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1183, allocations: 4 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1183, allocations: 0 / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1183, allocations: 0 / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.1184, allocations: 157.6 kB / 355.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1184, allocations: 0 / 355.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.1185, allocations: 3.984 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1185, allocations: 4 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1185, allocations: 3.938 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1185, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1185, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1186, allocations: 77.12 kB / 355.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.1187, allocations: 85.02 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1187, allocations: 7.875 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.1187, allocations: 7.984 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-06/0.1187, allocations: 0 / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1187, allocations: 4.25 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.1188, allocations: 83.28 kB / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1188, allocations: 0 / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.119, allocations: 8 kB / 355.5 MB, free: 15.27 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.0001079/0.1191, allocations: 99.25 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1192, allocations: 23.92 kB / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1192, allocations: 0 / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.1192, allocations: 0 / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1195, allocations: 23.92 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.1197, allocations: 113.8 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.12, allocations: 0.6807 MB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.12, allocations: 0 / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.12, allocations: 15.44 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.12, allocations: 0 / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002361/0.1224, allocations: 314.7 kB / 356.8 MB, free: 13.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches