Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001682/0.001682, allocations: 124.8 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.00135/0.00135, allocations: 186.9 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.398/1.398, allocations: 225.6 MB / 249.1 MB, free: 3.598 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 51.91 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09825, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002736/0.101, allocations: 1.497 MB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.1014, allocations: 147.5 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.1015, allocations: 4 kB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.389e-05/0.1015, allocations: 7.922 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.1016, allocations: 3.938 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1019, allocations: 47.27 kB / 419.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.102, allocations: 31.86 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1021, allocations: 12 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.1021, allocations: 11.92 kB / 419.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.096e-05/0.1022, allocations: 11.94 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1022, allocations: 4 kB / 419.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.1022, allocations: 0 / 419.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.1022, allocations: 23.91 kB / 419.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.1023, allocations: 23.81 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1024, allocations: 39.7 kB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1024, allocations: 4 kB / 419.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1024, allocations: 8 kB / 419.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1024, allocations: 0 / 419.6 MB, free: 10.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004794/0.1029, allocations: 363.2 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1029, allocations: 12.02 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.103, allocations: 34.75 kB / 420 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.103, allocations: 8.891 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1032, allocations: 188.3 kB / 420.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1033, allocations: 12.36 kB / 420.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1033, allocations: 8.312 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1035, allocations: 109.5 kB / 420.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1035, allocations: 3.938 kB / 420.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1035, allocations: 0 / 420.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1036, allocations: 8 kB / 420.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.1036, allocations: 19.92 kB / 420.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.1039, allocations: 265.7 kB / 420.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1041, allocations: 134.2 kB / 420.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.1042, allocations: 25.78 kB / 420.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1042, allocations: 3.938 kB / 420.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1042, allocations: 38.55 kB / 420.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1042, allocations: 0 / 420.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.1044, allocations: 69.58 kB / 420.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1045, allocations: 81.23 kB / 421 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1046, allocations: 136.1 kB / 421.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1046, allocations: 25.7 kB / 421.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.1047, allocations: 92.09 kB / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.1047, allocations: 0 / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1047, allocations: 17.72 kB / 421.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1049, allocations: 314.8 kB / 421.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.1049, allocations: 8 kB / 421.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.105, allocations: 35.42 kB / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.105, allocations: 35.38 kB / 421.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.105, allocations: 7.938 kB / 421.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.1051, allocations: 69.52 kB / 421.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1052, allocations: 8 kB / 421.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1052, allocations: 0 / 421.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1052, allocations: 0 / 421.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-05/0.1052, allocations: 7.984 kB / 421.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1052, allocations: 0 / 421.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.1052, allocations: 4 kB / 421.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1052, allocations: 0 / 421.7 MB, free: 8.324 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 9.441e-05/0.1053, allocations: 126.6 kB / 421.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.1054, allocations: 53.84 kB / 421.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.1054, allocations: 11.91 kB / 421.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1054, allocations: 0 / 421.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1054, allocations: 4 kB / 421.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1054, allocations: 7.922 kB / 421.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1056, allocations: 165.6 kB / 422.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1056, allocations: 0 / 422.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.1056, allocations: 3.984 kB / 422.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1056, allocations: 7.938 kB / 422.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1056, allocations: 4 kB / 422.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1056, allocations: 0 / 422.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1056, allocations: 0 / 422.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.1058, allocations: 164.2 kB / 422.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1059, allocations: 89.09 kB / 422.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1059, allocations: 4 kB / 422.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.1059, allocations: 8 kB / 422.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.106, allocations: 3.984 kB / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.106, allocations: 4 kB / 422.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.106, allocations: 105.5 kB / 422.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.106, allocations: 0 / 422.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1062, allocations: 4 kB / 422.5 MB, free: 7.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004729/0.1067, allocations: 0.7053 MB / 423.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1068, allocations: 23.98 kB / 423.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1068, allocations: 0 / 423.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.1069, allocations: 7.938 kB / 423.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1072, allocations: 22.36 kB / 423.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1084, allocations: 1.307 MB / 424.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1088, allocations: 0.6961 MB / 425.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.957e-05/0.1088, allocations: 7.938 kB / 425.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1088, allocations: 11.44 kB / 425.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1088, allocations: 0 / 425.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.1589, allocations: 1.481 MB / 426.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.853, allocations: 16.86 kB / 426.8 MB, free: 3.145 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.308078869711608]