Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001805/0.001805, allocations: 123.4 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.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.00203/0.00203, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002872/0.1134, allocations: 1.539 MB / 427.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.1138, allocations: 143.5 kB / 428 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.1139, allocations: 11.94 kB / 428 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.46e-05/0.114, allocations: 3.938 kB / 428 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.243e-05/0.1141, allocations: 11.86 kB / 428 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1144, allocations: 39.91 kB / 428.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1145, allocations: 39.84 kB / 428.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.1146, allocations: 8 kB / 428.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.1146, allocations: 23.91 kB / 428.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.1146, allocations: 19.86 kB / 428.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1147, allocations: 4 kB / 428.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.1147, allocations: 4 kB / 428.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.1147, allocations: 19.92 kB / 428.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.1148, allocations: 23.81 kB / 428.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1149, allocations: 55.73 kB / 428.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1149, allocations: 0 / 428.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1149, allocations: 0 / 428.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1149, allocations: 0 / 428.2 MB, free: 2.848 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.0004993/0.1154, allocations: 375.1 kB / 428.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1154, allocations: 8.031 kB / 428.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.1155, allocations: 34.75 kB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.1155, allocations: 16.83 kB / 428.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1158, allocations: 194.4 kB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1158, allocations: 4.375 kB / 428.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1158, allocations: 4.375 kB / 428.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1161, allocations: 122.4 kB / 429 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1161, allocations: 7.938 kB / 429 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1161, allocations: 3.984 kB / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.1161, allocations: 0 / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.1162, allocations: 31.91 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1166, allocations: 365.9 kB / 429.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1168, allocations: 71.78 kB / 429.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.1168, allocations: 34.62 kB / 429.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.1168, allocations: 0 / 429.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1169, allocations: 38.5 kB / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1169, allocations: 0 / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003149/0.1172, allocations: 97.55 kB / 429.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.1173, allocations: 103.2 kB / 429.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1174, allocations: 141.8 kB / 429.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1174, allocations: 29.7 kB / 429.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.1175, allocations: 92.02 kB / 430 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.1175, allocations: 11.83 kB / 430 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.1176, allocations: 25.7 kB / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1177, allocations: 318.8 kB / 430.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.1178, allocations: 11.98 kB / 430.3 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.1178, allocations: 39.42 kB / 430.4 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.118, allocations: 51.36 kB / 430.4 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.118, allocations: 4 kB / 430.4 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000167/0.1181, allocations: 73.56 kB / 430.5 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1181, allocations: 4 kB / 430.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1181, allocations: 0 / 430.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1182, allocations: 4 kB / 430.5 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.179e-05/0.1182, allocations: 4 kB / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1182, allocations: 7.938 kB / 430.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.1182, allocations: 0 / 430.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1182, allocations: 4 kB / 430.5 MB, free: 252 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[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.000128/0.1184, allocations: 129.9 kB / 430.7 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1185, allocations: 49.62 kB / 430.7 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.1185, allocations: 11.88 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.1185, allocations: 4 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1185, allocations: 0 / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1185, allocations: 7.984 kB / 430.7 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.1188, allocations: 173.6 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.1188, allocations: 4 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.1188, allocations: 0 / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1188, allocations: 4.031 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1188, allocations: 0 / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1188, allocations: 7.938 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1188, allocations: 0 / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1191, allocations: 255.6 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.1192, allocations: 97.05 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1192, allocations: 3.984 kB / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.1193, allocations: 4 kB / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1194, allocations: 0 / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1194, allocations: 4 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.1194, allocations: 109.8 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1194, allocations: 3.938 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1197, allocations: 4 kB / 431.4 MB, free: 15.28 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[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.0006287/0.1203, allocations: 0.7989 MB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1205, allocations: 44.23 kB / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1205, allocations: 0 / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.1206, allocations: 19.86 kB / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.121, allocations: 24.02 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1227, allocations: 1.467 MB / 433.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.123, allocations: 0.6923 MB / 434.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.1231, allocations: 11.98 kB / 434.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1231, allocations: 15.44 kB / 434.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1231, allocations: 0 / 434.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.1468, allocations: 1.706 MB / 436.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.755, allocations: 19.06 kB / 436.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.304599395021796]