Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001325/0.001325, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001347/0.001347, allocations: 195.6 kB / 23.71 MB, free: 4.406 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.345/1.345, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002827/0.2322, allocations: 1.61 MB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.2331, allocations: 450.9 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.2331, allocations: 0 / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.81e-05/0.2332, allocations: 7.875 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.2333, allocations: 23.78 kB / 424.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.2336, allocations: 51.83 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2337, allocations: 59.78 kB / 424.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.2338, allocations: 11.98 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.2338, allocations: 31.84 kB / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.2339, allocations: 23.86 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2339, allocations: 4 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.2339, allocations: 4 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.234, allocations: 19.92 kB / 424.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.234, allocations: 19.81 kB / 424.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.2342, allocations: 73.34 kB / 425 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2342, allocations: 0 / 425 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2342, allocations: 8 kB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2342, allocations: 0 / 425 MB, free: 12 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.0004887/0.2347, allocations: 329.8 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2347, allocations: 8.031 kB / 425.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.2347, allocations: 38.73 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2348, allocations: 8.891 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.235, allocations: 146.2 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.235, allocations: 4.375 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.235, allocations: 8.375 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.2353, allocations: 126 kB / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2353, allocations: 0 / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2353, allocations: 7.984 kB / 425.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2354, allocations: 4 kB / 425.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2355, allocations: 43.91 kB / 425.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.236, allocations: 341 kB / 426 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2361, allocations: 83.77 kB / 426.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.2362, allocations: 38.62 kB / 426.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2362, allocations: 0 / 426.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2362, allocations: 38.5 kB / 426.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2362, allocations: 0 / 426.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003637/0.2366, allocations: 113.7 kB / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/0.2367, allocations: 110.8 kB / 426.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.2368, allocations: 153.7 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2369, allocations: 25.7 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.2369, allocations: 96.09 kB / 426.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.237, allocations: 7.891 kB / 426.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.237, allocations: 21.7 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2372, allocations: 322.8 kB / 427 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.2372, allocations: 12.17 kB / 427 MB, free: 9.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.2373, allocations: 55.34 kB / 427.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2375, allocations: 67.28 kB / 427.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2375, allocations: 0 / 427.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001933/0.2377, allocations: 89.55 kB / 427.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2377, allocations: 8 kB / 427.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2377, allocations: 0 / 427.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2377, allocations: 96 / 427.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.2378, allocations: 11.98 kB / 427.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2378, allocations: 4 kB / 427.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.2379, allocations: 15.92 kB / 427.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2379, allocations: 0 / 427.3 MB, free: 9.438 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.0001018/0.238, allocations: 129.8 kB / 427.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.2381, allocations: 53.64 kB / 427.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.2381, allocations: 11.97 kB / 427.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.2381, allocations: 4 kB / 427.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2381, allocations: 0 / 427.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2381, allocations: 0 / 427.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2383, allocations: 152.7 kB / 427.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2384, allocations: 3.984 kB / 427.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.2384, allocations: 4 kB / 427.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2384, allocations: 4 kB / 427.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2384, allocations: 0 / 427.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2384, allocations: 8.016 kB / 427.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2384, allocations: 0 / 427.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.2387, allocations: 283.4 kB / 427.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.2388, allocations: 11.94 kB / 427.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.2388, allocations: 8 kB / 427.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2389, allocations: 8 kB / 427.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2389, allocations: 3.984 kB / 427.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2389, allocations: 0 / 427.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.855e-05/0.239, allocations: 122.1 kB / 428 MB, free: 8.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.239, allocations: 0 / 428 MB, free: 8.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.2393, allocations: 12 kB / 428.1 MB, free: 8.555 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.0005993/0.2399, allocations: 0.7984 MB / 428.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2401, allocations: 51.91 kB / 428.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2401, allocations: 256 / 428.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.2401, allocations: 27.92 kB / 428.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2406, allocations: 27.94 kB / 429 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2423, allocations: 1.577 MB / 430.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.934e-05/0.2424, allocations: 91.11 kB / 430.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.726e-05/0.2425, allocations: 4 kB / 430.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.2425, allocations: 23.42 kB / 430.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2425, allocations: 0 / 430.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.271, allocations: 2.421 MB / 433.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.83, allocations: 8.156 kB / 433.1 MB, free: 3.512 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.04696111800149]