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.001645/0.001645, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001917/0.001917, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.633/1.633, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.002049/0.002049, allocations: 59.89 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2972, allocations: 53.41 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003077/0.3002, allocations: 1.612 MB / 433.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3014, allocations: 0.5259 MB / 434.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.3015, allocations: 0 / 434.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3016, allocations: 7.875 kB / 434.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3017, allocations: 19.84 kB / 434.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.302, allocations: 63.81 kB / 434.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3022, allocations: 63.72 kB / 434.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3023, allocations: 18.09 kB / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3024, allocations: 43.78 kB / 434.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.3025, allocations: 27.86 kB / 434.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3025, allocations: 4 kB / 434.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.3026, allocations: 11.98 kB / 434.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.3027, allocations: 11.94 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.3027, allocations: 27.8 kB / 434.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3029, allocations: 83.58 kB / 434.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3029, allocations: 0 / 434.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3029, allocations: 0 / 434.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3029, allocations: 3.938 kB / 434.4 MB, free: 3.961 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.0005494/0.3034, allocations: 325.9 kB / 434.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3035, allocations: 11.97 kB / 434.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.812e-05/0.3035, allocations: 192 / 434.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3035, allocations: 38.75 kB / 434.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.3038, allocations: 28.86 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3041, allocations: 154.9 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3041, allocations: 384 / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3041, allocations: 8.375 kB / 435 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.3044, allocations: 129.8 kB / 435.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3045, allocations: 4 kB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3045, allocations: 0 / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.3045, allocations: 4 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3046, allocations: 35.91 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.3052, allocations: 348.9 kB / 435.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.3053, allocations: 83.77 kB / 435.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.3054, allocations: 34.62 kB / 435.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3054, allocations: 4 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3055, allocations: 38.5 kB / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.3055, allocations: 0 / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003775/0.3058, allocations: 121.7 kB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.3059, allocations: 106.8 kB / 435.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3061, allocations: 158.2 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3061, allocations: 29.69 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.3062, allocations: 92.14 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.3062, allocations: 3.953 kB / 436.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3062, allocations: 25.7 kB / 436.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3064, allocations: 318.8 kB / 436.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.3064, allocations: 28.11 kB / 436.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.3065, allocations: 43.41 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3066, allocations: 63.34 kB / 436.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3066, allocations: 0 / 436.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001967/0.3068, allocations: 93.55 kB / 436.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3069, allocations: 7.938 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3069, allocations: 0 / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3069, allocations: 4 kB / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/0.307, allocations: 11.98 kB / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.307, allocations: 0 / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.307, allocations: 7.938 kB / 436.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.307, allocations: 4 kB / 436.8 MB, free: 1.367 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 9.676e-05/0.3071, allocations: 129.8 kB / 436.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.3072, allocations: 57.59 kB / 436.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.3073, allocations: 12.02 kB / 437 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.3073, allocations: 11.98 kB / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3073, allocations: 0 / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3073, allocations: 7.984 kB / 437 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3075, allocations: 144.7 kB / 437.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3075, allocations: 4 kB / 437.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.3076, allocations: 4 kB / 437.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3076, allocations: 0 / 437.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3076, allocations: 12.02 kB / 437.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3076, allocations: 0 / 437.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3076, allocations: 3.938 kB / 437.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3079, allocations: 267.5 kB / 437.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3079, allocations: 23.88 kB / 437.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.308, allocations: 0 / 437.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3081, allocations: 11.98 kB / 437.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3081, allocations: 4 kB / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3081, allocations: 0 / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.3082, allocations: 123.2 kB / 437.6 MB, free: 496 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3082, allocations: 0 / 437.6 MB, free: 496 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3085, allocations: 11.94 kB / 437.6 MB, free: 484 kB / 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.0005887/0.3091, allocations: 0.8023 MB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3093, allocations: 56.08 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3093, allocations: 4.062 kB / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.3094, allocations: 15.98 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.3098, allocations: 34.27 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3115, allocations: 1.59 MB / 440.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.356e-05/0.3116, allocations: 88.98 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.3116, allocations: 4 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.3117, allocations: 23.42 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3117, allocations: 0 / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3339, allocations: 2.14 MB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.27, allocations: 16.55 kB / 442.3 MB, free: 11.68 MB / 350.1 MB " [Timeout remaining time 649] (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.058946907054633]