Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001269/0.001269, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.001241/0.001241, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.367/1.367, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002748/0.1085, allocations: 1.415 MB / 419.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.1087, allocations: 35.91 kB / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1088, allocations: 0 / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.1088, allocations: 7.938 kB / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.277e-05/0.1088, allocations: 3.938 kB / 419.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1091, allocations: 19.98 kB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.1092, allocations: 35.84 kB / 419.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1093, allocations: 7.984 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.1093, allocations: 4 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.1094, allocations: 15.92 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1094, allocations: 4 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.1094, allocations: 0 / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.1094, allocations: 11.94 kB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.1094, allocations: 19.92 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1095, allocations: 35.77 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1095, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1095, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1096, allocations: 0 / 419.4 MB, free: 10.98 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.0004638/0.11, allocations: 343.4 kB / 419.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1101, allocations: 8.031 kB / 419.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.1101, allocations: 34.75 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.1101, allocations: 4.938 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1104, allocations: 180.3 kB / 419.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1104, allocations: 8.312 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1104, allocations: 8.312 kB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.1108, allocations: 115.8 kB / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1108, allocations: 3.938 kB / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1108, allocations: 0 / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1109, allocations: 0 / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.1109, allocations: 23.97 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1111, allocations: 157.7 kB / 420.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1113, allocations: 50.48 kB / 420.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.1113, allocations: 24.92 kB / 420.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1114, allocations: 0 / 420.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1114, allocations: 34.56 kB / 420.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.1114, allocations: 4 kB / 420.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002564/0.1116, allocations: 73.61 kB / 420.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.1117, allocations: 55.41 kB / 420.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.1118, allocations: 101.8 kB / 420.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1118, allocations: 29.64 kB / 420.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.1119, allocations: 88.14 kB / 420.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.1119, allocations: 7.938 kB / 420.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.1119, allocations: 17.72 kB / 420.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.112, allocations: 314.8 kB / 421 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.1121, allocations: 4 kB / 421 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/0.1121, allocations: 31.42 kB / 421.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.1121, allocations: 39.38 kB / 421.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1122, allocations: 0 / 421.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.79e-05/0.1122, allocations: 61.81 kB / 421.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1123, allocations: 7.938 kB / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1123, allocations: 4 kB / 421.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1123, allocations: 3.984 kB / 421.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.1123, allocations: 4.375 kB / 421.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1123, allocations: 3.938 kB / 421.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.1124, allocations: 8.062 kB / 421.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1124, allocations: 8 kB / 421.2 MB, free: 8.891 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.892e-05/0.1125, allocations: 121.8 kB / 421.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.1126, allocations: 61.58 kB / 421.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.1126, allocations: 11.48 kB / 421.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1126, allocations: 4 kB / 421.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1126, allocations: 0 / 421.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1126, allocations: 0 / 421.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1127, allocations: 153.7 kB / 421.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1127, allocations: 4 kB / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.1128, allocations: 7.984 kB / 421.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1128, allocations: 7.875 kB / 421.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1128, allocations: 0 / 421.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1128, allocations: 0 / 421.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1128, allocations: 0 / 421.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1129, allocations: 85.11 kB / 421.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.113, allocations: 81.06 kB / 421.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.113, allocations: 3.938 kB / 421.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.113, allocations: 15.98 kB / 421.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-06/0.1131, allocations: 0 / 421.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1131, allocations: 0 / 421.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.1131, allocations: 79.28 kB / 421.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1131, allocations: 0 / 421.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.1133, allocations: 4 kB / 421.8 MB, free: 8.156 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005794/0.1139, allocations: 0.6536 MB / 422.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.114, allocations: 31.91 kB / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.114, allocations: 0 / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.114, allocations: 0 / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1142, allocations: 19.98 kB / 422.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1153, allocations: 1.178 MB / 423.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1157, allocations: 0.6828 MB / 424.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.1157, allocations: 7.938 kB / 424.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1158, allocations: 15.42 kB / 424.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1158, allocations: 0 / 424.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1393, allocations: 1.313 MB / 425.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/7.93, allocations: 11.77 kB / 425.8 MB, free: 4.23 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.301228282041848]