Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001585/0.001585, 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.001641/0.001641, 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.424/1.424, 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09872, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002733/0.1015, allocations: 1.626 MB / 428.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.1024, allocations: 0.5571 MB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.1025, allocations: 0 / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.439e-05/0.1026, allocations: 19.86 kB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.1027, allocations: 11.88 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.103, allocations: 67.78 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1031, allocations: 67.72 kB / 429 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.1032, allocations: 8 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1033, allocations: 47.77 kB / 429.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.1034, allocations: 27.86 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1034, allocations: 7.938 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.1034, allocations: 8 kB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.1035, allocations: 19.92 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.1035, allocations: 35.73 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.1037, allocations: 79.59 kB / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1037, allocations: 0 / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1037, allocations: 0 / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.1037, allocations: 0 / 429.2 MB, free: 2.395 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.0005313/0.1042, allocations: 402.9 kB / 429.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1042, allocations: 12.03 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1043, allocations: 42.75 kB / 429.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1045, allocations: 24.88 kB / 429.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1047, allocations: 212.1 kB / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1048, allocations: 4.359 kB / 429.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1048, allocations: 4.375 kB / 429.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.1051, allocations: 138 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1051, allocations: 0 / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1051, allocations: 0 / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.1051, allocations: 4 kB / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1052, allocations: 39.91 kB / 430.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.1057, allocations: 377.9 kB / 430.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1058, allocations: 79.78 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.1059, allocations: 42.62 kB / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1059, allocations: 0 / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.106, allocations: 42.48 kB / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.106, allocations: 0 / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003392/0.1063, allocations: 113.7 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.1064, allocations: 106.8 kB / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1065, allocations: 154.2 kB / 431 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1065, allocations: 25.7 kB / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1066, allocations: 100.1 kB / 431.1 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1066, allocations: 3.953 kB / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.1066, allocations: 21.91 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1068, allocations: 326.8 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.1068, allocations: 19.98 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.1069, allocations: 47.3 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.107, allocations: 67.34 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.107, allocations: 3.938 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001812/0.1072, allocations: 85.55 kB / 431.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1072, allocations: 8.125 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1072, allocations: 4 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1072, allocations: 0 / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.1073, allocations: 11.98 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1073, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.1074, allocations: 7.984 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1074, allocations: 0 / 431.7 MB, free: 15.6 MB / 366.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: 0 () * 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 9.35e-05/0.1075, allocations: 133.7 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.1076, allocations: 53.66 kB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.1076, allocations: 15.86 kB / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1076, allocations: 0 / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1076, allocations: 4 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1076, allocations: 0 / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1079, allocations: 189.5 kB / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1079, allocations: 0 / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1079, allocations: 7.984 kB / 432.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1079, allocations: 4 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.108, allocations: 8 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.108, allocations: 0 / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.108, allocations: 4.031 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1082, allocations: 271.5 kB / 432.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.1083, allocations: 97.03 kB / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1083, allocations: 0 / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1084, allocations: 8 kB / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1085, allocations: 4 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1085, allocations: 7.984 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.1086, allocations: 111.2 kB / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1086, allocations: 0 / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1088, allocations: 12 kB / 432.6 MB, free: 14.57 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: 0 () * 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.0005621/0.1094, allocations: 0.8102 MB / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1096, allocations: 51.89 kB / 433.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1096, allocations: 4.25 kB / 433.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.1096, allocations: 23.92 kB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.11, allocations: 21.84 kB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1116, allocations: 1.585 MB / 435.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.112, allocations: 0.7079 MB / 435.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.112, allocations: 7.984 kB / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.1121, allocations: 23.42 kB / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1121, allocations: 0 / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.1363, allocations: 1.949 MB / 437.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.778, allocations: 16.41 kB / 437.8 MB, free: 9.359 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.299733062740415]