Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001792/0.001792, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 64.08 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1069, allocations: 53.33 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002915/0.1098, allocations: 1.537 MB / 428.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004243/0.1102, allocations: 151.5 kB / 428.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.1103, allocations: 0 / 428.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1104, allocations: 7.922 kB / 428.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.517e-05/0.1105, allocations: 15.86 kB / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.1107, allocations: 39.91 kB / 428.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1108, allocations: 35.91 kB / 428.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1109, allocations: 11.98 kB / 428.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.111, allocations: 19.88 kB / 428.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.111, allocations: 19.92 kB / 428.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.111, allocations: 4 kB / 428.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.111, allocations: 0 / 428.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1111, allocations: 23.86 kB / 428.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1112, allocations: 27.8 kB / 428.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1113, allocations: 55.69 kB / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1113, allocations: 0 / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1113, allocations: 0 / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1113, allocations: 0 / 428.6 MB, free: 3.031 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.0005389/0.1118, allocations: 399 kB / 429 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1119, allocations: 8.031 kB / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.1119, allocations: 38.73 kB / 429 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.112, allocations: 8.891 kB / 429 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1122, allocations: 202.9 kB / 429.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1122, allocations: 384 / 429.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1123, allocations: 4.375 kB / 429.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1126, allocations: 122.5 kB / 429.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1126, allocations: 3.938 kB / 429.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1126, allocations: 4 kB / 429.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.1126, allocations: 3.984 kB / 429.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1127, allocations: 35.97 kB / 429.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1132, allocations: 373.8 kB / 429.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1133, allocations: 75.78 kB / 429.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.1134, allocations: 42.61 kB / 429.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1134, allocations: 0 / 429.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1134, allocations: 38.56 kB / 429.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1134, allocations: 3.938 kB / 429.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003405/0.1138, allocations: 109.6 kB / 430 MB, free: 1.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1139, allocations: 106.8 kB / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.114, allocations: 145.8 kB / 430.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.114, allocations: 25.7 kB / 430.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.1141, allocations: 88.12 kB / 430.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1141, allocations: 7.953 kB / 430.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1141, allocations: 22 kB / 430.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1143, allocations: 322.8 kB / 430.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.1143, allocations: 15.98 kB / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.1144, allocations: 39.42 kB / 430.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1145, allocations: 67.28 kB / 430.9 MB, free: 468 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1145, allocations: 0 / 430.9 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001617/0.1147, allocations: 85.48 kB / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.1147, allocations: 8.125 kB / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1147, allocations: 0 / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1147, allocations: 4 kB / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1148, allocations: 8 kB / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1148, allocations: 3.984 kB / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.1149, allocations: 8 kB / 431 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1149, allocations: 4 kB / 431 MB, free: 340 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.0001207/0.115, allocations: 125.8 kB / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.1151, allocations: 53.59 kB / 431.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.1151, allocations: 11.86 kB / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.1151, allocations: 4 kB / 431.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1151, allocations: 0 / 431.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1151, allocations: 8 kB / 431.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1154, allocations: 173.6 kB / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1154, allocations: 3.984 kB / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.1154, allocations: 4 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1154, allocations: 4 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1154, allocations: 4 kB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1154, allocations: 4.031 kB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.1155, allocations: 7.984 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1157, allocations: 267.6 kB / 431.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.1158, allocations: 96.98 kB / 431.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1158, allocations: 4 kB / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.1159, allocations: 7.984 kB / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.116, allocations: 4 kB / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.116, allocations: 0 / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.429e-05/0.116, allocations: 109.5 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.116, allocations: 4 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1163, allocations: 15.92 kB / 431.9 MB, free: 15.33 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.0005988/0.1169, allocations: 0.8023 MB / 432.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1171, allocations: 51.97 kB / 432.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1171, allocations: 0 / 432.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.94e-05/0.1171, allocations: 19.98 kB / 432.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1175, allocations: 20.02 kB / 432.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1191, allocations: 1.492 MB / 434.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1194, allocations: 0.6924 MB / 435 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.152e-05/0.1195, allocations: 7.984 kB / 435 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.1195, allocations: 19.44 kB / 435 MB, free: 12.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1195, allocations: 0 / 435 MB, free: 12.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1432, allocations: 1.72 MB / 436.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.748, allocations: 15.92 kB / 436.7 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.292426805011928]