Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 124.4 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 53.34 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00286/0.1077, allocations: 1.426 MB / 427.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.1079, allocations: 39.84 kB / 427.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.108, allocations: 7.875 kB / 427.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.108, allocations: 0 / 427.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.108, allocations: 3.938 kB / 427.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1083, allocations: 26.72 kB / 427.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.1084, allocations: 27.92 kB / 427.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.1085, allocations: 11.98 kB / 427.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.1085, allocations: 11.94 kB / 427.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.1086, allocations: 15.92 kB / 427.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1086, allocations: 0 / 427.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.1086, allocations: 4 kB / 427.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.1086, allocations: 4 kB / 427.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.1086, allocations: 19.91 kB / 427.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.1087, allocations: 27.84 kB / 427.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1087, allocations: 0 / 427.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1087, allocations: 4 kB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1088, allocations: 0 / 427.9 MB, free: 3.18 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.0004825/0.1092, allocations: 339.5 kB / 428.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1093, allocations: 11.97 kB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1093, allocations: 34.75 kB / 428.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.1093, allocations: 0.9375 kB / 428.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1096, allocations: 188.2 kB / 428.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1096, allocations: 384 / 428.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1096, allocations: 8.375 kB / 428.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.11, allocations: 115.8 kB / 428.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.11, allocations: 3.938 kB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.11, allocations: 4 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.11, allocations: 0 / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1101, allocations: 23.97 kB / 428.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.1103, allocations: 157.6 kB / 428.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1104, allocations: 58.56 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.1105, allocations: 20.89 kB / 428.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.1105, allocations: 0 / 428.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1105, allocations: 38.56 kB / 428.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1105, allocations: 0 / 428.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002809/0.1108, allocations: 81.5 kB / 429 MB, free: 1.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.1109, allocations: 63.39 kB / 429.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.111, allocations: 101.9 kB / 429.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.111, allocations: 25.7 kB / 429.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.1111, allocations: 80.14 kB / 429.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1111, allocations: 3.984 kB / 429.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1111, allocations: 21.66 kB / 429.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1113, allocations: 318.8 kB / 429.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.1113, allocations: 0 / 429.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.1113, allocations: 39.42 kB / 429.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.1114, allocations: 35.38 kB / 429.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1114, allocations: 0 / 429.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.464e-05/0.1115, allocations: 65.58 kB / 429.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1115, allocations: 11.88 kB / 429.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1115, allocations: 3.938 kB / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1115, allocations: 4 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.1116, allocations: 4 kB / 429.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1116, allocations: 0 / 429.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.1116, allocations: 4 kB / 429.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1116, allocations: 4 kB / 429.8 MB, free: 1.082 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 9.842e-05/0.1117, allocations: 118 kB / 429.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1118, allocations: 65.56 kB / 429.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.1119, allocations: 7.484 kB / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1119, allocations: 0 / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1119, allocations: 0 / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1119, allocations: 0 / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.112, allocations: 153.7 kB / 430.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.112, allocations: 0 / 430.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.112, allocations: 11.98 kB / 430.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.112, allocations: 3.938 kB / 430.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.112, allocations: 4 kB / 430.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.112, allocations: 0 / 430.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.112, allocations: 4.375 kB / 430.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1122, allocations: 85.06 kB / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.1123, allocations: 77.11 kB / 430.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1123, allocations: 12.22 kB / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.1123, allocations: 3.984 kB / 430.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-06/0.1123, allocations: 0 / 430.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1123, allocations: 11.94 kB / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.1124, allocations: 83.28 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1124, allocations: 0 / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.1126, allocations: 4 kB / 430.4 MB, free: 348 kB / 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.0006293/0.1132, allocations: 0.6475 MB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1133, allocations: 35.97 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1133, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.1133, allocations: 3.938 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1136, allocations: 20.03 kB / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1147, allocations: 1.17 MB / 432.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.115, allocations: 0.6807 MB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.1151, allocations: 0 / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1151, allocations: 19.42 kB / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1151, allocations: 0 / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1395, allocations: 1.313 MB / 434.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/7.751, allocations: 6.906 kB / 434.3 MB, free: 12.43 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.279447953915223]