Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001384/0.001384, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001357/0.001357, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.422/1.422, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.88 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002988/0.1083, allocations: 1.632 MB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1093, allocations: 0.5649 MB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.1094, allocations: 3.938 kB / 429.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.776e-05/0.1095, allocations: 11.86 kB / 429.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1096, allocations: 11.88 kB / 429.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1099, allocations: 63.8 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.11, allocations: 67.7 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1101, allocations: 12 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1102, allocations: 43.84 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.1103, allocations: 27.84 kB / 429.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1103, allocations: 4 kB / 429.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.1104, allocations: 8 kB / 429.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.1104, allocations: 19.92 kB / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.1105, allocations: 35.73 kB / 429.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1106, allocations: 75.55 kB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1106, allocations: 4 kB / 429.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1106, allocations: 0 / 429.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1107, allocations: 0 / 429.6 MB, free: 2.176 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.0005642/0.1112, allocations: 406.9 kB / 430 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1113, allocations: 15.97 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.4e-05/0.1113, allocations: 4.188 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1113, allocations: 34.75 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.1115, allocations: 24.88 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1118, allocations: 216.1 kB / 430.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1118, allocations: 4.375 kB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1118, allocations: 4.375 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1121, allocations: 125.8 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1121, allocations: 7.922 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1121, allocations: 4 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.1122, allocations: 4 kB / 430.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1123, allocations: 39.97 kB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.1128, allocations: 377.8 kB / 430.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1129, allocations: 83.78 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.113, allocations: 38.62 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1131, allocations: 0 / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1131, allocations: 42.55 kB / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1131, allocations: 0 / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003683/0.1135, allocations: 113.5 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1135, allocations: 107.2 kB / 431.2 MB, free: 316 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1137, allocations: 158.2 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1137, allocations: 29.7 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1138, allocations: 100.1 kB / 431.5 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1138, allocations: 3.953 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.1138, allocations: 21.7 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.114, allocations: 326.7 kB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.114, allocations: 15.98 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.1141, allocations: 43.42 kB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.1143, allocations: 63.34 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1143, allocations: 7.984 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002053/0.1145, allocations: 85.5 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1145, allocations: 8 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1145, allocations: 0 / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1145, allocations: 3.984 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.1146, allocations: 8 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1146, allocations: 4 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.1147, allocations: 12.11 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1147, allocations: 4 kB / 432.1 MB, free: 15.37 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.222e-05/0.1148, allocations: 129.7 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.1149, allocations: 49.59 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.1149, allocations: 15.86 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.1149, allocations: 0 / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1149, allocations: 4 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1149, allocations: 0 / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.1152, allocations: 193.5 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1152, allocations: 4 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.1152, allocations: 7.984 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1153, allocations: 8 kB / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1153, allocations: 0 / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1153, allocations: 0 / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1153, allocations: 0 / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1156, allocations: 279.5 kB / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.1156, allocations: 101 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1157, allocations: 0 / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1158, allocations: 4 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1158, allocations: 3.984 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1158, allocations: 4 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.1159, allocations: 115.2 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1159, allocations: 4 kB / 433 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1162, allocations: 11.94 kB / 433 MB, free: 14.34 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.0006186/0.1168, allocations: 0.8145 MB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.117, allocations: 44.09 kB / 433.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.117, allocations: 4 kB / 433.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.1171, allocations: 15.98 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1175, allocations: 30.34 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1192, allocations: 1.577 MB / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1196, allocations: 0.704 MB / 436.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.1196, allocations: 7.984 kB / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.1197, allocations: 31.42 kB / 436.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1197, allocations: 0 / 436.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1372, allocations: 1.991 MB / 438.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/7.987, allocations: 16.03 kB / 438.2 MB, free: 9.125 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],sine1.amplitude,sine1.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.continuous,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2.y,time [Calling sys.exit(0), Time elapsed: 10.601703257998452]