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.001734/0.001734, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001893/0.001893, allocations: 197 kB / 21.43 MB, free: 1.609 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.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 43.94 kB / 366.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09508, allocations: 52.13 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002774/0.09785, allocations: 1.421 MB / 419.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.09803, allocations: 31.86 kB / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.09809, allocations: 0 / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.09812, allocations: 3.938 kB / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.09816, allocations: 7.984 kB / 419.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.09839, allocations: 15.98 kB / 420 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.09848, allocations: 31.86 kB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.09858, allocations: 11.98 kB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.09862, allocations: 15.92 kB / 420 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.09867, allocations: 15.92 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.09869, allocations: 4 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-06/0.09869, allocations: 0 / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.09871, allocations: 7.938 kB / 420 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.09874, allocations: 11.94 kB / 420 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.09885, allocations: 35.81 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09885, allocations: 0 / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09885, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.09886, allocations: 3.938 kB / 420.1 MB, free: 10.97 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.0004572/0.09931, allocations: 339.4 kB / 420.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.09936, allocations: 12.03 kB / 420.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.09937, allocations: 192 / 420.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.09941, allocations: 34.73 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.09944, allocations: 4.938 kB / 420.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.09968, allocations: 184.3 kB / 420.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.0997, allocations: 4.375 kB / 420.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.09971, allocations: 4.312 kB / 420.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1001, allocations: 119.6 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1001, allocations: 0 / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1001, allocations: 3.984 kB / 420.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1001, allocations: 0 / 420.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1002, allocations: 23.92 kB / 420.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1003, allocations: 161.7 kB / 421 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1005, allocations: 46.56 kB / 421 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.1006, allocations: 24.92 kB / 421 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1006, allocations: 0 / 421 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1006, allocations: 42.48 kB / 421.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1006, allocations: 0 / 421.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002647/0.1009, allocations: 77.61 kB / 421.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.101, allocations: 59.41 kB / 421.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.101, allocations: 101.8 kB / 421.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1011, allocations: 25.7 kB / 421.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.1011, allocations: 84.14 kB / 421.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.1011, allocations: 3.953 kB / 421.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1011, allocations: 21.7 kB / 421.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1013, allocations: 318.8 kB / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.1013, allocations: 4 kB / 421.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.1013, allocations: 27.44 kB / 421.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.1014, allocations: 43.36 kB / 421.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1014, allocations: 0 / 421.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.241e-05/0.1015, allocations: 65.5 kB / 421.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1015, allocations: 9.969 kB / 421.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1015, allocations: 4 kB / 421.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1015, allocations: 0 / 421.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.1016, allocations: 8 kB / 421.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1016, allocations: 0 / 421.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.1016, allocations: 7.938 kB / 421.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1016, allocations: 4.125 kB / 421.9 MB, free: 8.879 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.154e-05/0.1017, allocations: 113.8 kB / 422 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.1018, allocations: 69.5 kB / 422.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.1019, allocations: 7.5 kB / 422.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1019, allocations: 4 kB / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1019, allocations: 0 / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1019, allocations: 0 / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.102, allocations: 157.7 kB / 422.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.102, allocations: 0 / 422.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.102, allocations: 8 kB / 422.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.102, allocations: 3.938 kB / 422.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.102, allocations: 0 / 422.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.102, allocations: 3.984 kB / 422.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.102, allocations: 0 / 422.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1022, allocations: 93.64 kB / 422.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1023, allocations: 85 kB / 422.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1023, allocations: 0 / 422.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.1023, allocations: 12 kB / 422.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.1023, allocations: 0 / 422.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1023, allocations: 0 / 422.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.1024, allocations: 87.27 kB / 422.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1024, allocations: 0 / 422.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001883/0.1026, allocations: 4 kB / 422.6 MB, free: 8.137 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.0005617/0.1031, allocations: 0.6475 MB / 423.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1033, allocations: 27.92 kB / 423.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1033, allocations: 0 / 423.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.1033, allocations: 0 / 423.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1035, allocations: 31.84 kB / 423.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1046, allocations: 1.178 MB / 424.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1049, allocations: 0.6844 MB / 425.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.569e-05/0.1049, allocations: 3.938 kB / 425.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1049, allocations: 15.44 kB / 425.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1049, allocations: 0 / 425.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.122, allocations: 1.353 MB / 426.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.044, allocations: 22.61 kB / 426.5 MB, free: 4.184 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.40799098496791]