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.001634/0.001634, allocations: 109.5 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.002114/0.002114, allocations: 183 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.437/1.437, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.002342/0.002342, allocations: 51.91 kB / 370.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2915, allocations: 52.18 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003431/0.295, allocations: 1.642 MB / 424.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.296, allocations: 490.7 kB / 424.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.2961, allocations: 4 kB / 424.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2962, allocations: 7.875 kB / 424.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.2963, allocations: 15.86 kB / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.2966, allocations: 47.83 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2968, allocations: 59.78 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2969, allocations: 15.98 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.297, allocations: 35.8 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.297, allocations: 27.84 kB / 425 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.2971, allocations: 4 kB / 425 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.2971, allocations: 4 kB / 425 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.2971, allocations: 15.92 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.2972, allocations: 31.8 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.2974, allocations: 72.08 kB / 425.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2974, allocations: 4 kB / 425.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2974, allocations: 3.938 kB / 425.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2974, allocations: 0 / 425.1 MB, free: 12.16 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.000617/0.298, allocations: 325.8 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.298, allocations: 8.031 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.2981, allocations: 34.75 kB / 425.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2981, allocations: 8.891 kB / 425.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.2984, allocations: 150.2 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2984, allocations: 384 / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2984, allocations: 12.36 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.2987, allocations: 126 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2988, allocations: 0 / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2988, allocations: 4 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.2988, allocations: 8 kB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.2989, allocations: 39.91 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.2995, allocations: 337 kB / 426.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2996, allocations: 87.77 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.2997, allocations: 38.62 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2997, allocations: 3.984 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.2998, allocations: 42.5 kB / 426.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2998, allocations: 4 kB / 426.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003739/0.3001, allocations: 113.5 kB / 426.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.3002, allocations: 107.2 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3004, allocations: 157.6 kB / 426.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3004, allocations: 25.7 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.3005, allocations: 100.1 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3005, allocations: 7.953 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3006, allocations: 21.7 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3007, allocations: 318.8 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.3008, allocations: 19.98 kB / 427.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.3009, allocations: 51.34 kB / 427.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.301, allocations: 63.34 kB / 427.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.301, allocations: 4 kB / 427.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001937/0.3012, allocations: 85.55 kB / 427.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3012, allocations: 8 kB / 427.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3013, allocations: 0 / 427.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3013, allocations: 0 / 427.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3014, allocations: 11.98 kB / 427.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3014, allocations: 4 kB / 427.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.3014, allocations: 12.06 kB / 427.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3015, allocations: 0 / 427.4 MB, free: 9.594 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.0001192/0.3016, allocations: 133.7 kB / 427.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3017, allocations: 53.64 kB / 427.6 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.3017, allocations: 11.97 kB / 427.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3017, allocations: 0 / 427.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3017, allocations: 4 kB / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3017, allocations: 0 / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.302, allocations: 156.7 kB / 427.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.302, allocations: 0 / 427.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.302, allocations: 7.984 kB / 427.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.302, allocations: 4 kB / 427.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.302, allocations: 0 / 427.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.302, allocations: 0 / 427.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.302, allocations: 0 / 427.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.3024, allocations: 283.4 kB / 428 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.3024, allocations: 15.95 kB / 428 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3024, allocations: 3.984 kB / 428 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3025, allocations: 4 kB / 428.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3026, allocations: 0 / 428.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3026, allocations: 15.92 kB / 428.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.03e-05/0.3027, allocations: 114.1 kB / 428.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3027, allocations: 4 kB / 428.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3029, allocations: 8 kB / 428.2 MB, free: 8.711 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.0006349/0.3036, allocations: 0.8062 MB / 429 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3038, allocations: 55.89 kB / 429.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3038, allocations: 0 / 429.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.3038, allocations: 11.98 kB / 429.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3043, allocations: 28.48 kB / 429.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3061, allocations: 1.584 MB / 430.7 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3064, allocations: 0.6961 MB / 431.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.3065, allocations: 16.2 kB / 431.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.3065, allocations: 23.42 kB / 431.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3065, allocations: 0 / 431.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3349, allocations: 1.984 MB / 433.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.77, allocations: 0 / 433.4 MB, free: 3.477 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.173711025854573]