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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 47.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1012, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002913/0.1042, allocations: 1.423 MB / 419.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.1044, allocations: 107.6 kB / 419.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.1045, allocations: 4 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.1045, allocations: 3.938 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.1046, allocations: 3.938 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1048, allocations: 27.91 kB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.1049, allocations: 23.92 kB / 419.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.105, allocations: 4 kB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.105, allocations: 11.94 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.1051, allocations: 15.91 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1051, allocations: 4 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-06/0.1051, allocations: 0 / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.1051, allocations: 4 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1051, allocations: 15.94 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.593e-05/0.1052, allocations: 27.84 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1052, allocations: 0 / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1052, allocations: 0 / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1052, allocations: 3.984 kB / 419.4 MB, free: 10.95 MB / 350.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.0004317/0.1057, allocations: 339.4 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1057, allocations: 8.031 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1057, allocations: 30.75 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.1058, allocations: 4.938 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.106, allocations: 192.2 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.106, allocations: 8.312 kB / 420 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1061, allocations: 384 / 420 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1063, allocations: 99.88 kB / 420.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1063, allocations: 7.875 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1064, allocations: 4 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1064, allocations: 4 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.1064, allocations: 11.98 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1066, allocations: 153.7 kB / 420.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1067, allocations: 42.56 kB / 420.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1068, allocations: 28.84 kB / 420.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1068, allocations: 0 / 420.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1068, allocations: 38.56 kB / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1068, allocations: 0 / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.107, allocations: 69.61 kB / 420.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1071, allocations: 51.41 kB / 420.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.1072, allocations: 109.8 kB / 420.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1072, allocations: 25.7 kB / 420.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.1073, allocations: 80.14 kB / 420.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.1073, allocations: 8 kB / 420.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.1073, allocations: 13.72 kB / 420.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1074, allocations: 322.8 kB / 421.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.1074, allocations: 4 kB / 421.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.1075, allocations: 23.44 kB / 421.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.1075, allocations: 43.38 kB / 421.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1075, allocations: 0 / 421.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.223e-05/0.1076, allocations: 57.58 kB / 421.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1076, allocations: 7.938 kB / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1076, allocations: 0 / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1077, allocations: 4.125 kB / 421.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.1077, allocations: 8 kB / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1077, allocations: 7.984 kB / 421.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1077, allocations: 0 / 421.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1077, allocations: 4 kB / 421.2 MB, free: 8.91 MB / 350.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 7.9e-05/0.1078, allocations: 109.8 kB / 421.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.1079, allocations: 57.62 kB / 421.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.1079, allocations: 7.438 kB / 421.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1079, allocations: 0 / 421.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1079, allocations: 8 kB / 421.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1079, allocations: 0 / 421.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.108, allocations: 161.6 kB / 421.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.108, allocations: 0 / 421.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.1081, allocations: 0 / 421.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1081, allocations: 3.938 kB / 421.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1081, allocations: 0 / 421.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1081, allocations: 4 kB / 421.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1081, allocations: 7.922 kB / 421.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1082, allocations: 81.06 kB / 421.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1082, allocations: 85.03 kB / 421.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1082, allocations: 11.94 kB / 421.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.1083, allocations: 0 / 421.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.1083, allocations: 256 / 421.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1083, allocations: 384 / 421.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.1083, allocations: 83.28 kB / 421.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1083, allocations: 0 / 421.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1085, allocations: 8 kB / 421.8 MB, free: 8.188 MB / 350.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.0004338/0.1089, allocations: 0.6318 MB / 422.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.627e-05/0.109, allocations: 19.98 kB / 422.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.109, allocations: 0 / 422.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.109, allocations: 4.188 kB / 422.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1092, allocations: 27.97 kB / 422.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.1102, allocations: 1.138 MB / 423.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1105, allocations: 0.6805 MB / 424.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.1105, allocations: 11.94 kB / 424.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.1105, allocations: 7.438 kB / 424.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1105, allocations: 0 / 424.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.1335, allocations: 1.236 MB / 425.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.848, allocations: 15.7 kB / 425.6 MB, free: 4.398 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.35332014830783]