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.001981/0.001981, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002381/0.002381, allocations: 188.1 kB / 23.72 MB, free: 4.684 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.558/1.558, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.001643/0.001643, allocations: 47.92 kB / 370.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3009, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003379/0.3043, allocations: 1.633 MB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.3053, allocations: 494.7 kB / 424.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.3054, allocations: 3.938 kB / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3055, allocations: 7.938 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3056, allocations: 15.8 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.3059, allocations: 43.89 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.306, allocations: 63.72 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3061, allocations: 23.97 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.3062, allocations: 23.86 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.3063, allocations: 27.86 kB / 425 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3063, allocations: 4 kB / 425 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.3063, allocations: 4 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.3064, allocations: 19.92 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.3064, allocations: 31.8 kB / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3066, allocations: 72.02 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3066, allocations: 3.938 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3066, allocations: 0 / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3066, allocations: 4 kB / 425.1 MB, free: 12.14 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.0005814/0.3072, allocations: 329.8 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3072, allocations: 8.031 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.3073, allocations: 30.75 kB / 425.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.3073, allocations: 12.89 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3076, allocations: 142.3 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3076, allocations: 384 / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3076, allocations: 12.38 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.3079, allocations: 130 kB / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3079, allocations: 0 / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3079, allocations: 0 / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.308, allocations: 7.984 kB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3081, allocations: 43.91 kB / 425.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.3086, allocations: 344.9 kB / 426.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3088, allocations: 87.77 kB / 426.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.3088, allocations: 42.62 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3089, allocations: 0 / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3089, allocations: 30.56 kB / 426.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3089, allocations: 4 kB / 426.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003781/0.3093, allocations: 117.5 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.3094, allocations: 114.7 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3095, allocations: 153.7 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3095, allocations: 26.08 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.3096, allocations: 100.1 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.3096, allocations: 3.953 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3096, allocations: 21.7 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3098, allocations: 322.8 kB / 427.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.3098, allocations: 19.98 kB / 427.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.3099, allocations: 47.41 kB / 427.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3101, allocations: 63.34 kB / 427.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3101, allocations: 0 / 427.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002079/0.3103, allocations: 89.55 kB / 427.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3103, allocations: 4 kB / 427.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3103, allocations: 7.938 kB / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3103, allocations: 0 / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3104, allocations: 11.98 kB / 427.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3104, allocations: 4 kB / 427.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3105, allocations: 3.938 kB / 427.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3105, allocations: 4 kB / 427.4 MB, free: 9.574 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.0001001/0.3106, allocations: 129.9 kB / 427.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3107, allocations: 57.62 kB / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.3108, allocations: 7.906 kB / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.3108, allocations: 8 kB / 427.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3108, allocations: 0 / 427.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3108, allocations: 4 kB / 427.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.311, allocations: 148.7 kB / 427.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.311, allocations: 4 kB / 427.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.3111, allocations: 8.016 kB / 427.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3111, allocations: 4 kB / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3111, allocations: 4 kB / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3111, allocations: 0 / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3111, allocations: 0 / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.3114, allocations: 283.4 kB / 428 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.3115, allocations: 19.94 kB / 428.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3115, allocations: 0 / 428.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3116, allocations: 4 kB / 428.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3116, allocations: 7.922 kB / 428.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3117, allocations: 4 kB / 428.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.492e-05/0.3117, allocations: 118.1 kB / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3117, allocations: 0 / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.312, allocations: 8 kB / 428.2 MB, free: 8.691 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.0006112/0.3126, allocations: 0.8062 MB / 429 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3129, allocations: 51.95 kB / 429.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3129, allocations: 0 / 429.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.3129, allocations: 19.92 kB / 429.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3134, allocations: 28.02 kB / 429.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3153, allocations: 1.581 MB / 430.7 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3157, allocations: 0.7 MB / 431.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.3158, allocations: 7.984 kB / 431.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.3159, allocations: 23.42 kB / 431.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3159, allocations: 0 / 431.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.3468, allocations: 1.987 MB / 433.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.84, allocations: 4.062 kB / 433.4 MB, free: 3.453 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 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.csv","/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: 14.632108507001249]