Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001702/0.001702, allocations: 125 kB / 17.79 MB, free: 5.121 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.00206/0.00206, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.448/1.448, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 365.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09896, allocations: 52.15 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002872/0.1018, allocations: 1.538 MB / 419.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004252/0.1023, allocations: 147.5 kB / 419.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.1023, allocations: 4 kB / 419.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1024, allocations: 7.875 kB / 419.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.1025, allocations: 11.94 kB / 419.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1028, allocations: 39.89 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1029, allocations: 43.8 kB / 419.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.103, allocations: 15.97 kB / 419.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.103, allocations: 19.92 kB / 419.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.1031, allocations: 19.86 kB / 419.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1031, allocations: 4 kB / 419.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.1031, allocations: 4 kB / 419.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.1031, allocations: 11.94 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.1032, allocations: 27.8 kB / 419.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1033, allocations: 59.69 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1033, allocations: 0 / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1033, allocations: 0 / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1033, allocations: 0 / 419.7 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.0005079/0.1038, allocations: 383 kB / 420.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1039, allocations: 12.03 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1039, allocations: 34.75 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.1039, allocations: 16.78 kB / 420.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1042, allocations: 206 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1042, allocations: 4.375 kB / 420.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1042, allocations: 4.375 kB / 420.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.1045, allocations: 122.4 kB / 420.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1045, allocations: 7.938 kB / 420.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1045, allocations: 3.938 kB / 420.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.1046, allocations: 8 kB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1047, allocations: 43.89 kB / 420.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1051, allocations: 365.9 kB / 420.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1053, allocations: 79.77 kB / 421 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.1054, allocations: 34.62 kB / 421 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1054, allocations: 8 kB / 421 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1054, allocations: 34.5 kB / 421.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1054, allocations: 0 / 421.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003289/0.1057, allocations: 105.5 kB / 421.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.1058, allocations: 107.2 kB / 421.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1059, allocations: 148.2 kB / 421.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1059, allocations: 29.69 kB / 421.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.106, allocations: 96.03 kB / 421.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.106, allocations: 4 kB / 421.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1061, allocations: 25.66 kB / 421.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1062, allocations: 314.8 kB / 421.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.1062, allocations: 15.98 kB / 421.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.1063, allocations: 43.42 kB / 421.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1064, allocations: 67.27 kB / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1064, allocations: 0 / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001833/0.1066, allocations: 77.61 kB / 422.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1066, allocations: 4 kB / 422.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1066, allocations: 4 kB / 422.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1067, allocations: 0 / 422.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.1067, allocations: 15.92 kB / 422.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1068, allocations: 12.06 kB / 422.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.1068, allocations: 4 kB / 422.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.1068, allocations: 0 / 422.1 MB, free: 8.031 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[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.0001152/0.1069, allocations: 125.8 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.107, allocations: 57.59 kB / 422.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.107, allocations: 11.88 kB / 422.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.1071, allocations: 0 / 422.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1071, allocations: 7.984 kB / 422.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1071, allocations: 4.031 kB / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1073, allocations: 173.6 kB / 422.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1073, allocations: 0 / 422.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.1073, allocations: 8 kB / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1073, allocations: 0 / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1074, allocations: 3.984 kB / 422.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1074, allocations: 7.938 kB / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1074, allocations: 0 / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1076, allocations: 271.5 kB / 422.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.1077, allocations: 92.98 kB / 422.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1077, allocations: 4 kB / 422.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.1078, allocations: 0 / 422.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1079, allocations: 15.98 kB / 422.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1079, allocations: 0 / 422.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.1079, allocations: 111.3 kB / 423 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1079, allocations: 0 / 423 MB, free: 7.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1082, allocations: 4 kB / 423 MB, free: 7.043 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[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.0006081/0.1088, allocations: 0.8067 MB / 423.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.109, allocations: 47.91 kB / 423.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.109, allocations: 0 / 423.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.1091, allocations: 20.23 kB / 423.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1095, allocations: 24.08 kB / 423.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1111, allocations: 1.498 MB / 425.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1115, allocations: 0.7002 MB / 426.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.1115, allocations: 8.031 kB / 426.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.1115, allocations: 23.36 kB / 426.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1115, allocations: 4 kB / 426.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.1389, allocations: 1.721 MB / 427.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.269, allocations: 21.62 kB / 427.9 MB, free: 2.164 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.975498090032488]