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.001725/0.001725, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.00204/0.00204, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.596/1.596, allocations: 230.5 MB / 254.7 MB, free: 14.85 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 63.89 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 53.36 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003212/0.127, allocations: 1.642 MB / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1282, allocations: 0.561 MB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1283, allocations: 11.94 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.1284, allocations: 3.938 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1285, allocations: 23.73 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1289, allocations: 59.19 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.129, allocations: 67.77 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1291, allocations: 11.98 kB / 429.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1293, allocations: 43.8 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.1293, allocations: 31.83 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1294, allocations: 8 kB / 429.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.1294, allocations: 12 kB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1295, allocations: 15.92 kB / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.1295, allocations: 31.75 kB / 429.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1297, allocations: 75.59 kB / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1297, allocations: 0 / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1297, allocations: 0 / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1297, allocations: 0 / 429.6 MB, free: 2.016 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.0005966/0.1303, allocations: 410.8 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1303, allocations: 12.03 kB / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.1303, allocations: 4.188 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.1304, allocations: 38.73 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.1306, allocations: 24.88 kB / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1309, allocations: 208.1 kB / 430.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1309, allocations: 384 / 430.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1309, allocations: 12.38 kB / 430.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1313, allocations: 129.8 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1313, allocations: 0 / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1313, allocations: 0 / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1313, allocations: 0 / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1314, allocations: 47.91 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.1319, allocations: 369.9 kB / 430.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1321, allocations: 87.77 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.1322, allocations: 42.56 kB / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1322, allocations: 0 / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1322, allocations: 30.56 kB / 431 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1322, allocations: 4 kB / 431 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004144/0.1327, allocations: 113.5 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.1327, allocations: 106.8 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2017/0.3344, allocations: 157.9 kB / 431.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3345, allocations: 27.17 kB / 431.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3345, allocations: 102.2 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3345, allocations: 8.906 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.3346, allocations: 15.19 kB / 431.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.3346, allocations: 323.7 kB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3347, allocations: 18.16 kB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.3348, allocations: 45.09 kB / 431.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.335, allocations: 67.11 kB / 432 MB, free: 10.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.335, allocations: 1.219 kB / 432 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002499/0.3352, allocations: 89.48 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.3353, allocations: 7.891 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3353, allocations: 1.906 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.3353, allocations: 4.656 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3354, allocations: 12.11 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3354, allocations: 2.812 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.3355, allocations: 5.875 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3355, allocations: 7.734 kB / 432.1 MB, free: 10.37 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: 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 7.93e-05/0.3356, allocations: 125.7 kB / 432.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.3357, allocations: 52.25 kB / 432.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.3357, allocations: 16.27 kB / 432.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.3357, allocations: 6.188 kB / 432.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3357, allocations: 1.094 kB / 432.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3357, allocations: 1.328 kB / 432.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.336, allocations: 190.5 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.336, allocations: 0 / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.336, allocations: 12.75 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.336, allocations: 1.094 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.336, allocations: 6.109 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3361, allocations: 1.609 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3361, allocations: 4.375 kB / 432.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3363, allocations: 268.8 kB / 432.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.3364, allocations: 94.06 kB / 432.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3364, allocations: 5.281 kB / 432.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3365, allocations: 6.359 kB / 432.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3366, allocations: 4.375 kB / 432.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3366, allocations: 3.766 kB / 432.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.3367, allocations: 119.5 kB / 433 MB, free: 9.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3367, allocations: 0.7188 kB / 433 MB, free: 9.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3369, allocations: 11.22 kB / 433 MB, free: 9.617 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: 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.0004368/0.3374, allocations: 0.8074 MB / 433.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3376, allocations: 54.94 kB / 433.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3376, allocations: 1.094 kB / 433.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.3377, allocations: 25.69 kB / 433.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3381, allocations: 30.16 kB / 434 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3396, allocations: 1.57 MB / 435.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.3397, allocations: 0.7069 MB / 436.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.3397, allocations: 11.66 kB / 436.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.3398, allocations: 22.03 kB / 436.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3398, allocations: 0 / 436.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3607, allocations: 1.994 MB / 438.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.086/9.447, allocations: 17.05 kB / 438.3 MB, free: 6.473 MB / 350.1 MB " [Timeout remaining time 650] (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/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_trunk_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: 12.173162122024223]