Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001251/0.001251, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001263/0.001263, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.39/1.39, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 51.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1014, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002873/0.1042, allocations: 1.52 MB / 419.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.1046, allocations: 143.5 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.1047, allocations: 0 / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.944e-05/0.1048, allocations: 11.86 kB / 419.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.1049, allocations: 11.94 kB / 419.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1051, allocations: 47.83 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.886e-05/0.1052, allocations: 35.92 kB / 419.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1053, allocations: 15.98 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.1053, allocations: 15.92 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.1054, allocations: 23.86 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1054, allocations: 0 / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1054, allocations: 7.938 kB / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1055, allocations: 15.92 kB / 419.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.1055, allocations: 23.81 kB / 419.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.1056, allocations: 55.73 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1056, allocations: 0 / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1056, allocations: 0 / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1056, allocations: 4 kB / 419.7 MB, free: 10.68 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.0004802/0.1061, allocations: 379.1 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1062, allocations: 8.031 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1062, allocations: 30.75 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.1062, allocations: 8.891 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1065, allocations: 200.1 kB / 420.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1065, allocations: 8.359 kB / 420.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1065, allocations: 8.375 kB / 420.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1068, allocations: 118.4 kB / 420.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1068, allocations: 3.938 kB / 420.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1068, allocations: 0 / 420.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.1068, allocations: 4 kB / 420.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.1069, allocations: 35.95 kB / 420.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1074, allocations: 357.9 kB / 420.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1075, allocations: 83.83 kB / 420.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.1075, allocations: 26.58 kB / 420.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1076, allocations: 0 / 420.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1076, allocations: 42.55 kB / 421 MB, free: 9.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1076, allocations: 0 / 421 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002757/0.1079, allocations: 97.5 kB / 421.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.1079, allocations: 102.8 kB / 421.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1081, allocations: 139.2 kB / 421.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1081, allocations: 25.7 kB / 421.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.1081, allocations: 92.09 kB / 421.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.1081, allocations: 11.92 kB / 421.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.1082, allocations: 30.03 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1083, allocations: 318.8 kB / 421.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.1083, allocations: 15.98 kB / 421.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.1084, allocations: 35.42 kB / 421.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.564e-05/0.1085, allocations: 51.36 kB / 421.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1085, allocations: 3.938 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.1086, allocations: 73.55 kB / 422 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1087, allocations: 8 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.1087, allocations: 0 / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1087, allocations: 4.125 kB / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.1087, allocations: 4 kB / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1087, allocations: 0 / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.1087, allocations: 7.984 kB / 422 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1087, allocations: 0 / 422 MB, free: 8.074 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 0.0001037/0.1088, allocations: 121.8 kB / 422.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.1089, allocations: 57.58 kB / 422.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.109, allocations: 7.875 kB / 422.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.109, allocations: 8.016 kB / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.109, allocations: 4 kB / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.109, allocations: 0 / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1092, allocations: 181.5 kB / 422.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1092, allocations: 3.938 kB / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.1092, allocations: 4 kB / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1092, allocations: 4 kB / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1092, allocations: 0 / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1092, allocations: 0 / 422.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1092, allocations: 4 kB / 422.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1095, allocations: 255.5 kB / 422.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1095, allocations: 97.05 kB / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1095, allocations: 0 / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.1096, allocations: 4 kB / 422.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1097, allocations: 0 / 422.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1097, allocations: 4 kB / 422.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.656e-05/0.1097, allocations: 113.6 kB / 422.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1097, allocations: 0 / 422.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.11, allocations: 11.95 kB / 422.8 MB, free: 7.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0005524/0.1106, allocations: 0.7989 MB / 423.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1107, allocations: 35.92 kB / 423.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1107, allocations: 0 / 423.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.168e-05/0.1108, allocations: 15.98 kB / 423.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1112, allocations: 30.67 kB / 423.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1126, allocations: 1.464 MB / 425.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1129, allocations: 0.7001 MB / 425.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.1129, allocations: 7.984 kB / 425.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.1129, allocations: 19.42 kB / 425.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1129, allocations: 0 / 425.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.1375, allocations: 1.727 MB / 427.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.939, allocations: 11.16 kB / 427.7 MB, free: 2.289 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.369925344828516]