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.001691/0.001691, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001551/0.001551, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2816, allocations: 53.4 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003014/0.2846, allocations: 1.631 MB / 432.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2858, allocations: 0.5143 MB / 433.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.2859, allocations: 11.94 kB / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.286, allocations: 11.86 kB / 433.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2861, allocations: 11.88 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2864, allocations: 75.78 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.2866, allocations: 63.72 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2867, allocations: 8 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.2868, allocations: 31.92 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.2869, allocations: 35.77 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.2869, allocations: 8 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.287, allocations: 4 kB / 433.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.287, allocations: 23.92 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.2871, allocations: 23.81 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.2873, allocations: 81.22 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2873, allocations: 0 / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2873, allocations: 0 / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2873, allocations: 4 kB / 433.7 MB, free: 3.93 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.0005447/0.2878, allocations: 317.9 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2879, allocations: 11.98 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.2879, allocations: 46.73 kB / 434 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.2881, allocations: 28.81 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.2884, allocations: 150.9 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2884, allocations: 384 / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2884, allocations: 8.375 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.2887, allocations: 130 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2887, allocations: 7.938 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2887, allocations: 0 / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.2888, allocations: 4 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.2889, allocations: 39.97 kB / 434.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.2894, allocations: 344.9 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.2895, allocations: 83.77 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.2896, allocations: 42.62 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.2896, allocations: 0 / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2896, allocations: 30.56 kB / 434.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2896, allocations: 4 kB / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003586/0.29, allocations: 121.4 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.2901, allocations: 107.2 kB / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2902, allocations: 158.2 kB / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2902, allocations: 25.7 kB / 435.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.2903, allocations: 92.14 kB / 435.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.2903, allocations: 11.94 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.2903, allocations: 17.72 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2905, allocations: 322.8 kB / 435.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.2905, allocations: 19.98 kB / 435.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.2906, allocations: 39.42 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2908, allocations: 67.34 kB / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2908, allocations: 0 / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000193/0.291, allocations: 93.48 kB / 435.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.291, allocations: 4 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.291, allocations: 128 / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.291, allocations: 8 kB / 436 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.2911, allocations: 11.98 kB / 436 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2911, allocations: 3.938 kB / 436 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.2912, allocations: 7.984 kB / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2912, allocations: 4 kB / 436 MB, free: 1.34 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.92e-05/0.2913, allocations: 121.8 kB / 436.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.2914, allocations: 61.53 kB / 436.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.2914, allocations: 23.98 kB / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2914, allocations: 3.938 kB / 436.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2914, allocations: 4.031 kB / 436.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2914, allocations: 4 kB / 436.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.2916, allocations: 148.7 kB / 436.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2916, allocations: 4 kB / 436.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.2917, allocations: 11.98 kB / 436.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2917, allocations: 0 / 436.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2917, allocations: 4 kB / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2917, allocations: 0 / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2917, allocations: 0 / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.292, allocations: 283.5 kB / 436.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.292, allocations: 15.88 kB / 436.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2921, allocations: 4 kB / 436.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2922, allocations: 3.984 kB / 436.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2922, allocations: 8 kB / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2922, allocations: 0 / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.156e-05/0.2923, allocations: 120.1 kB / 436.8 MB, free: 464 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2923, allocations: 0 / 436.8 MB, free: 464 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.2926, allocations: 12 kB / 436.8 MB, free: 452 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.0005734/0.2931, allocations: 0.8023 MB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.2933, allocations: 55.89 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2933, allocations: 0 / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.2934, allocations: 19.98 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.2938, allocations: 27.72 kB / 437.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2955, allocations: 1.589 MB / 439.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.2956, allocations: 84.98 kB / 439.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.2957, allocations: 11.98 kB / 439.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.2957, allocations: 19.44 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2957, allocations: 3.938 kB / 439.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.3262, allocations: 2.5 MB / 441.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.1, allocations: 3.562 kB / 441.9 MB, free: 11.29 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.59740831097588]