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.001567/0.001567, 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.001638/0.001638, 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.388/1.388, allocations: 225.6 MB / 249.8 MB, free: 3.613 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 43.94 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09838, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002878/0.1013, allocations: 1.415 MB / 419.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.1016, allocations: 107.7 kB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.1017, allocations: 0 / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.1017, allocations: 7.875 kB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.1017, allocations: 7.938 kB / 420 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.102, allocations: 22.86 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.1021, allocations: 31.91 kB / 420.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.1022, allocations: 0 / 420.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.1022, allocations: 15.92 kB / 420.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.03e-05/0.1022, allocations: 11.94 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1022, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-06/0.1022, allocations: 3.938 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.1023, allocations: 4 kB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.1023, allocations: 11.92 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.894e-05/0.1024, allocations: 39.77 kB / 420.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1024, allocations: 4 kB / 420.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1024, allocations: 0 / 420.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1024, allocations: 0 / 420.2 MB, free: 10.92 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.0004453/0.1029, allocations: 335.4 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1029, allocations: 8.031 kB / 420.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.674e-05/0.1029, allocations: 4.188 kB / 420.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.1029, allocations: 34.75 kB / 420.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.103, allocations: 0.9375 kB / 420.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1032, allocations: 188.2 kB / 420.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1033, allocations: 4.359 kB / 420.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1033, allocations: 12.36 kB / 420.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1036, allocations: 99.64 kB / 420.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1036, allocations: 0 / 420.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1036, allocations: 0 / 420.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1036, allocations: 4 kB / 420.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.1037, allocations: 19.92 kB / 420.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1038, allocations: 153.7 kB / 421 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.104, allocations: 46.55 kB / 421.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.104, allocations: 16.89 kB / 421.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.104, allocations: 0 / 421.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1041, allocations: 46.53 kB / 421.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1041, allocations: 0 / 421.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002135/0.1043, allocations: 61.62 kB / 421.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1043, allocations: 51.41 kB / 421.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.1044, allocations: 105.8 kB / 421.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1044, allocations: 25.7 kB / 421.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1045, allocations: 84.14 kB / 421.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1045, allocations: 8 kB / 421.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1045, allocations: 17.7 kB / 421.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1046, allocations: 314.8 kB / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.1046, allocations: 0 / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.1047, allocations: 27.44 kB / 421.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.1047, allocations: 47.36 kB / 421.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1047, allocations: 0 / 421.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.438e-05/0.1048, allocations: 57.53 kB / 421.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1048, allocations: 7.938 kB / 421.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1048, allocations: 7.984 kB / 421.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1049, allocations: 3.938 kB / 421.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.1049, allocations: 8.125 kB / 421.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1049, allocations: 0 / 421.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1049, allocations: 0 / 421.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1049, allocations: 4 kB / 421.9 MB, free: 8.887 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 8.386e-05/0.105, allocations: 113.8 kB / 422 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.1051, allocations: 57.5 kB / 422.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.1051, allocations: 11.5 kB / 422.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1051, allocations: 336 / 422.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1052, allocations: 0 / 422.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1052, allocations: 7.984 kB / 422.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.1053, allocations: 161.6 kB / 422.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1053, allocations: 0 / 422.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.1053, allocations: 4 kB / 422.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1053, allocations: 4.188 kB / 422.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.1053, allocations: 0 / 422.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1053, allocations: 4 kB / 422.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1053, allocations: 0 / 422.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1054, allocations: 85.05 kB / 422.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.1055, allocations: 88.98 kB / 422.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1055, allocations: 0 / 422.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.1055, allocations: 0 / 422.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-06/0.1055, allocations: 0 / 422.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1055, allocations: 4 kB / 422.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.1056, allocations: 87.27 kB / 422.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1056, allocations: 0 / 422.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.1058, allocations: 4 kB / 422.6 MB, free: 8.16 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.0004433/0.1062, allocations: 0.6162 MB / 423.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1063, allocations: 27.92 kB / 423.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1063, allocations: 0 / 423.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.1063, allocations: 0 / 423.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1065, allocations: 28.22 kB / 423.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1075, allocations: 1.15 MB / 424.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1078, allocations: 0.6805 MB / 425.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.295e-05/0.1078, allocations: 4 kB / 425.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1079, allocations: 15.44 kB / 425.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1079, allocations: 0 / 425.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.1247, allocations: 1.278 MB / 426.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/7.987, allocations: 21.28 kB / 426.4 MB, free: 4.348 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.350160694972146]