Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.00126/0.00126, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001432/0.001432, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003228/0.1067, allocations: 1.544 MB / 427.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004745/0.1072, allocations: 147.5 kB / 428 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.1072, allocations: 4 kB / 428 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.1074, allocations: 7.875 kB / 428 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1075, allocations: 15.92 kB / 428 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1077, allocations: 35.91 kB / 428.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1078, allocations: 47.83 kB / 428.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.108, allocations: 8 kB / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.108, allocations: 23.86 kB / 428.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.1081, allocations: 15.92 kB / 428.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1081, allocations: 4 kB / 428.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.1081, allocations: 4 kB / 428.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.1082, allocations: 11.94 kB / 428.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.1082, allocations: 27.8 kB / 428.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1083, allocations: 59.69 kB / 428.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1083, allocations: 0 / 428.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1083, allocations: 0 / 428.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1084, allocations: 0 / 428.3 MB, free: 2.824 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.0006357/0.109, allocations: 391 kB / 428.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.109, allocations: 8.031 kB / 428.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.1091, allocations: 38.69 kB / 428.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1091, allocations: 8.891 kB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1094, allocations: 200.2 kB / 428.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1094, allocations: 12.31 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1094, allocations: 384 / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.1097, allocations: 126.4 kB / 429 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1098, allocations: 3.938 kB / 429 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1098, allocations: 4 kB / 429 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.1098, allocations: 4 kB / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1099, allocations: 35.91 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1104, allocations: 365.9 kB / 429.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1106, allocations: 87.77 kB / 429.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.1106, allocations: 38.62 kB / 429.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1106, allocations: 0 / 429.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1107, allocations: 38.5 kB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1107, allocations: 0 / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003526/0.111, allocations: 105.5 kB / 429.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.1111, allocations: 103.2 kB / 429.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1113, allocations: 155.5 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1113, allocations: 29.64 kB / 430 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.1114, allocations: 88.14 kB / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1114, allocations: 7.953 kB / 430.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.1114, allocations: 25.7 kB / 430.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1116, allocations: 314.8 kB / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.1116, allocations: 15.98 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1117, allocations: 47.41 kB / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1119, allocations: 63.28 kB / 430.5 MB, free: 252 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1119, allocations: 4 kB / 430.5 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001828/0.1121, allocations: 77.56 kB / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1121, allocations: 8 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1121, allocations: 0 / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1121, allocations: 0 / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.1122, allocations: 11.98 kB / 430.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1122, allocations: 7.938 kB / 430.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1122, allocations: 8.125 kB / 430.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1122, allocations: 0 / 430.6 MB, free: 128 kB / 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[2],sample1.u[1],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.0001626/0.1124, allocations: 125.8 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1125, allocations: 53.59 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.1125, allocations: 11.88 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.1126, allocations: 7.984 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1126, allocations: 0 / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1126, allocations: 3.938 kB / 430.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.1128, allocations: 177.6 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1128, allocations: 4 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.1129, allocations: 4 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1129, allocations: 4.078 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1129, allocations: 4 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1129, allocations: 3.938 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1129, allocations: 3.984 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.1132, allocations: 267.5 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.1133, allocations: 92.98 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1133, allocations: 4 kB / 431.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1134, allocations: 8 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1134, allocations: 7.984 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1134, allocations: 4 kB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.7e-05/0.1135, allocations: 109.2 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1135, allocations: 0 / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1138, allocations: 7.938 kB / 431.5 MB, free: 15.13 MB / 366.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[2],sample1.u[1],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.0006487/0.1144, allocations: 0.8068 MB / 432.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1146, allocations: 51.84 kB / 432.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1146, allocations: 0 / 432.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.1147, allocations: 15.92 kB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1151, allocations: 28.48 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1168, allocations: 1.488 MB / 433.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1172, allocations: 0.7002 MB / 434.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.859e-05/0.1172, allocations: 4 kB / 434.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1173, allocations: 19.42 kB / 434.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1173, allocations: 4 kB / 434.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.1425, allocations: 1.716 MB / 436.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.816, allocations: 17.95 kB / 436.4 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.327051596017554]