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.001576/0.001576, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002107/0.002107, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.756/1.756, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.002246/0.002246, allocations: 67.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3484, allocations: 53.4 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003317/0.3517, allocations: 1.639 MB / 433.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3528, allocations: 0.5687 MB / 434.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.3529, allocations: 7.938 kB / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.353, allocations: 7.922 kB / 434.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3532, allocations: 19.81 kB / 434.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.3536, allocations: 71.78 kB / 434.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3537, allocations: 67.77 kB / 434.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3538, allocations: 11.94 kB / 434.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.354, allocations: 39.91 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3541, allocations: 27.84 kB / 434.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3541, allocations: 4 kB / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.838e-05/0.3541, allocations: 11.94 kB / 434.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.3542, allocations: 19.92 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.3542, allocations: 31.73 kB / 434.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3544, allocations: 83.97 kB / 434.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3544, allocations: 0 / 434.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3544, allocations: 3.938 kB / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3544, allocations: 0 / 434.6 MB, free: 4.082 MB / 334.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.0005462/0.355, allocations: 321.9 kB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.355, allocations: 16.02 kB / 434.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/0.3551, allocations: 192 / 434.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.3551, allocations: 34.75 kB / 434.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.3553, allocations: 28.88 kB / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3556, allocations: 143 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3556, allocations: 8.375 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3557, allocations: 384 / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.356, allocations: 133.8 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.356, allocations: 0 / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.356, allocations: 4 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.356, allocations: 7.984 kB / 435.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3562, allocations: 39.91 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.3566, allocations: 356.8 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3568, allocations: 75.78 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3569, allocations: 42.56 kB / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.357, allocations: 7.984 kB / 435.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.357, allocations: 34.56 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.357, allocations: 0 / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000404/0.3574, allocations: 113.7 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3575, allocations: 110.8 kB / 436 MB, free: 2.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3576, allocations: 154.2 kB / 436.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3577, allocations: 29.7 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.3577, allocations: 96.08 kB / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.3577, allocations: 7.953 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.3578, allocations: 17.91 kB / 436.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3579, allocations: 326.8 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.358, allocations: 19.98 kB / 436.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.3581, allocations: 39.42 kB / 436.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3582, allocations: 67.33 kB / 436.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3582, allocations: 3.938 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002112/0.3585, allocations: 89.56 kB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3585, allocations: 6.5 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3585, allocations: 12.05 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3585, allocations: 4 kB / 436.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3586, allocations: 8 kB / 436.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3586, allocations: 0 / 436.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.3587, allocations: 7.984 kB / 436.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3587, allocations: 4 kB / 436.9 MB, free: 1.488 MB / 334.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 0.0001019/0.3588, allocations: 121.8 kB / 437 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.403e-05/0.3589, allocations: 49.66 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.3589, allocations: 23.88 kB / 437.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.3589, allocations: 8 kB / 437.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3589, allocations: 0 / 437.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3589, allocations: 0 / 437.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.3592, allocations: 160.6 kB / 437.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3592, allocations: 4 kB / 437.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.3592, allocations: 11.98 kB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3592, allocations: 0 / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3593, allocations: 0 / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3593, allocations: 4 kB / 437.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3593, allocations: 7.938 kB / 437.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.3596, allocations: 279.5 kB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.3596, allocations: 15.89 kB / 437.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3597, allocations: 7.984 kB / 437.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3598, allocations: 8 kB / 437.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3598, allocations: 4 kB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3598, allocations: 7.984 kB / 437.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.3599, allocations: 111.2 kB / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3599, allocations: 0 / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3602, allocations: 11.94 kB / 437.7 MB, free: 0.5859 MB / 334.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.0006994/0.3609, allocations: 0.8023 MB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3611, allocations: 51.95 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3611, allocations: 256 / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.3612, allocations: 23.92 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.3617, allocations: 30.33 kB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3638, allocations: 1.587 MB / 440.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.3642, allocations: 0.7041 MB / 440.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.981e-05/0.3643, allocations: 11.98 kB / 440.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.3644, allocations: 15.44 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3644, allocations: 0 / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.3891, allocations: 2.09 MB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 4.75 kB / 443 MB, free: 11.24 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.410835376009345]