Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 48.02 kB / 370.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002893/0.2376, allocations: 1.548 MB / 424.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.2381, allocations: 147.5 kB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.2382, allocations: 0 / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2383, allocations: 7.938 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.2384, allocations: 7.875 kB / 424.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2387, allocations: 43.89 kB / 424.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2388, allocations: 39.86 kB / 424.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.2389, allocations: 11.98 kB / 424.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.239, allocations: 27.84 kB / 424.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.239, allocations: 11.94 kB / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2391, allocations: 8 kB / 424.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2391, allocations: 0 / 424.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.2392, allocations: 23.92 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.2392, allocations: 27.75 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2394, allocations: 56.16 kB / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2394, allocations: 0 / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2394, allocations: 0 / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2394, allocations: 0 / 424.6 MB, free: 12.66 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.0005377/0.2399, allocations: 309.9 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.24, allocations: 12.03 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.24, allocations: 38.75 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.24, allocations: 12.84 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.2403, allocations: 146.3 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2403, allocations: 4.312 kB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2403, allocations: 4.375 kB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.2406, allocations: 126.5 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2406, allocations: 3.938 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2406, allocations: 0 / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.2407, allocations: 4 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.2408, allocations: 35.91 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.2412, allocations: 337 kB / 425.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2413, allocations: 79.77 kB / 425.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.2414, allocations: 42.62 kB / 425.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2414, allocations: 4 kB / 425.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2415, allocations: 34.5 kB / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2415, allocations: 0 / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003436/0.2418, allocations: 113.8 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.2419, allocations: 102.8 kB / 426 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.242, allocations: 144.4 kB / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.242, allocations: 25.7 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.2421, allocations: 100 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.2421, allocations: 3.984 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.2421, allocations: 25.66 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2423, allocations: 322.9 kB / 426.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.2423, allocations: 11.98 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.2424, allocations: 47.34 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2425, allocations: 59.34 kB / 426.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2425, allocations: 4 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001668/0.2427, allocations: 77.55 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2427, allocations: 11.28 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2427, allocations: 4.125 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2427, allocations: 0 / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.2428, allocations: 11.98 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2428, allocations: 4 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.2429, allocations: 4 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2429, allocations: 3.984 kB / 426.8 MB, free: 10.16 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001141/0.243, allocations: 133.7 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.2431, allocations: 53.69 kB / 427 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.2431, allocations: 19.98 kB / 427 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2431, allocations: 3.984 kB / 427 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2431, allocations: 4 kB / 427 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2431, allocations: 3.938 kB / 427 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.2433, allocations: 144.7 kB / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2434, allocations: 0 / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.2434, allocations: 8 kB / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2434, allocations: 3.984 kB / 427.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2434, allocations: 0 / 427.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2434, allocations: 4 kB / 427.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2434, allocations: 4 kB / 427.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2437, allocations: 267.5 kB / 427.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.2437, allocations: 19.94 kB / 427.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2437, allocations: 0 / 427.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.2438, allocations: 11.94 kB / 427.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.2439, allocations: 0 / 427.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.2439, allocations: 4 kB / 427.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.2439, allocations: 107.2 kB / 427.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2439, allocations: 0 / 427.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.2442, allocations: 11.94 kB / 427.6 MB, free: 9.293 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0005783/0.2448, allocations: 0.8023 MB / 428.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.245, allocations: 43.91 kB / 428.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.245, allocations: 8.25 kB / 428.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.245, allocations: 15.98 kB / 428.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2454, allocations: 24.02 kB / 428.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.2469, allocations: 1.501 MB / 430 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2472, allocations: 0.6963 MB / 430.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.2472, allocations: 7.984 kB / 430.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.2473, allocations: 15.42 kB / 430.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2473, allocations: 0 / 430.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.2748, allocations: 1.822 MB / 432.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.97, allocations: 10.3 kB / 432.5 MB, free: 4.324 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.224370224867016]