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.001532/0.001532, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001437/0.001437, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001487/0.001487, allocations: 43.94 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002714/0.2371, allocations: 1.637 MB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.2381, allocations: 0.5725 MB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.2382, allocations: 4 kB / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.238e-05/0.2382, allocations: 11.88 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.2383, allocations: 15.86 kB / 434.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2386, allocations: 59.81 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.2387, allocations: 67.7 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.2388, allocations: 15.92 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.2389, allocations: 39.86 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.239, allocations: 27.84 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.239, allocations: 4 kB / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.765e-05/0.2391, allocations: 8 kB / 434.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2391, allocations: 23.92 kB / 434.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.2391, allocations: 35.73 kB / 434.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.2393, allocations: 79.95 kB / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2393, allocations: 0 / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2393, allocations: 0 / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2393, allocations: 0 / 434.5 MB, free: 4.25 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.0004883/0.2398, allocations: 321.9 kB / 434.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2398, allocations: 8.031 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.427e-05/0.2398, allocations: 8.188 kB / 434.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2399, allocations: 34.73 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.2401, allocations: 36.86 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2403, allocations: 150.2 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.2403, allocations: 4.359 kB / 435.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2403, allocations: 4.375 kB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.2406, allocations: 133.8 kB / 435.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2407, allocations: 3.984 kB / 435.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2407, allocations: 0 / 435.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.2407, allocations: 0 / 435.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2408, allocations: 39.91 kB / 435.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.2413, allocations: 352.9 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2414, allocations: 79.78 kB / 435.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.488e-05/0.2415, allocations: 46.55 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2415, allocations: 4 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2415, allocations: 34.5 kB / 435.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2415, allocations: 0 / 435.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003604/0.2419, allocations: 117.5 kB / 435.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.242, allocations: 102.8 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2421, allocations: 154.2 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2421, allocations: 25.7 kB / 436.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.2422, allocations: 100.5 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.2422, allocations: 7.953 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.2423, allocations: 25.64 kB / 436.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2424, allocations: 322.8 kB / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.2425, allocations: 19.92 kB / 436.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.2426, allocations: 43.41 kB / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2427, allocations: 67.34 kB / 436.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2427, allocations: 0 / 436.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001946/0.2429, allocations: 93.61 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2429, allocations: 4 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2429, allocations: 4 kB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2429, allocations: 0 / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.243, allocations: 11.98 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.243, allocations: 0 / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.2431, allocations: 4 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.2431, allocations: 4 kB / 436.8 MB, free: 1.656 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.0001011/0.2432, allocations: 129.8 kB / 437 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.403e-05/0.2433, allocations: 57.64 kB / 437 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.2433, allocations: 11.92 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.2433, allocations: 4 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2433, allocations: 0 / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2433, allocations: 4 kB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.2436, allocations: 156.6 kB / 437.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2436, allocations: 4.094 kB / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.2436, allocations: 7.984 kB / 437.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2436, allocations: 3.984 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2436, allocations: 12.03 kB / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2436, allocations: 0 / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2436, allocations: 7.875 kB / 437.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.2439, allocations: 275.5 kB / 437.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.244, allocations: 19.88 kB / 437.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.244, allocations: 4 kB / 437.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2441, allocations: 4 kB / 437.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.2441, allocations: 7.984 kB / 437.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.2441, allocations: 4 kB / 437.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.336e-05/0.2442, allocations: 112.1 kB / 437.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2442, allocations: 4 kB / 437.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000271/0.2445, allocations: 11.94 kB / 437.7 MB, free: 0.75 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.000564/0.2451, allocations: 0.8062 MB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.2453, allocations: 52.03 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2453, allocations: 0 / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.2453, allocations: 19.98 kB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2457, allocations: 27.89 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2474, allocations: 1.593 MB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.2477, allocations: 0.7002 MB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.2478, allocations: 7.984 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.2478, allocations: 23.42 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2478, allocations: 0 / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.2747, allocations: 2.085 MB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.66, allocations: 19.38 kB / 443 MB, free: 11.42 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.029526551021263]