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.001664/0.001664, 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.001621/0.001621, allocations: 191.8 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.397/1.397, 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.001771/0.001771, allocations: 39.94 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2539, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00306/0.257, allocations: 1.618 MB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.2579, allocations: 450.9 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.258, allocations: 4 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2581, allocations: 15.81 kB / 424.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2582, allocations: 19.84 kB / 424.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.2585, allocations: 47.83 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2586, allocations: 59.84 kB / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2587, allocations: 7.984 kB / 424.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.2588, allocations: 35.8 kB / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.2589, allocations: 27.84 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2589, allocations: 4 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.2589, allocations: 4 kB / 424.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.259, allocations: 15.92 kB / 424.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.259, allocations: 27.8 kB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.2591, allocations: 69.36 kB / 425 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2591, allocations: 0 / 425 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2591, allocations: 4 kB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2591, 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.0005218/0.2597, allocations: 321.8 kB / 425.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2597, allocations: 12.03 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.2597, allocations: 38.73 kB / 425.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2598, allocations: 8.891 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.26, allocations: 150.2 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.26, allocations: 384 / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.26, allocations: 4.375 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.2603, allocations: 141.9 kB / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2603, allocations: 0 / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2604, allocations: 0 / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.2604, allocations: 7.984 kB / 425.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.2605, allocations: 39.91 kB / 425.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.261, allocations: 340.9 kB / 426 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.2611, allocations: 83.78 kB / 426.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.2612, allocations: 34.62 kB / 426.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2612, allocations: 4 kB / 426.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2613, allocations: 42.48 kB / 426.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2613, allocations: 0 / 426.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003621/0.2616, allocations: 121.8 kB / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.2617, allocations: 102.8 kB / 426.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2619, allocations: 153.7 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2619, allocations: 25.7 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.2619, allocations: 96.09 kB / 426.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.262, allocations: 11.94 kB / 426.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.262, allocations: 17.72 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2621, allocations: 318.8 kB / 427 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.2622, allocations: 19.98 kB / 427 MB, free: 9.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.2623, allocations: 47.42 kB / 427.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2624, allocations: 67.34 kB / 427.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2624, allocations: 0 / 427.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001919/0.2626, allocations: 93.58 kB / 427.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2626, allocations: 4 kB / 427.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2626, allocations: 0 / 427.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2627, allocations: 4 kB / 427.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.2628, allocations: 11.98 kB / 427.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2628, allocations: 0 / 427.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.2628, allocations: 7.938 kB / 427.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2628, allocations: 7.984 kB / 427.3 MB, free: 9.441 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.235e-05/0.2629, allocations: 121.7 kB / 427.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.263, allocations: 57.73 kB / 427.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.263, allocations: 11.97 kB / 427.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.2631, allocations: 7.984 kB / 427.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2631, allocations: 0 / 427.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.2631, allocations: 4 kB / 427.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.2633, allocations: 144.7 kB / 427.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2633, allocations: 0 / 427.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.2634, allocations: 8 kB / 427.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2634, allocations: 96 / 427.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2634, allocations: 7.922 kB / 427.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2634, allocations: 11.97 kB / 427.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2634, allocations: 3.984 kB / 427.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.2637, allocations: 279.4 kB / 427.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.2638, allocations: 15.94 kB / 427.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2638, allocations: 0 / 427.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2639, allocations: 7.984 kB / 427.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2639, allocations: 8 kB / 427.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2639, allocations: 0 / 427.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.264, allocations: 114.1 kB / 428 MB, free: 8.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.264, allocations: 4 kB / 428 MB, free: 8.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.2643, allocations: 8 kB / 428.1 MB, free: 8.562 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.0006294/0.2649, allocations: 0.8101 MB / 428.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.2651, allocations: 47.91 kB / 428.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2651, allocations: 256 / 428.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.2652, allocations: 23.97 kB / 428.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2656, allocations: 23.55 kB / 429 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2673, allocations: 1.574 MB / 430.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.633e-05/0.2674, allocations: 91.11 kB / 430.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.2674, allocations: 4 kB / 430.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.2675, allocations: 23.42 kB / 430.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2675, allocations: 0 / 430.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.2984, allocations: 2.428 MB / 433.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.15, allocations: 7.344 kB / 433.1 MB, free: 3.52 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 & 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: 13.652142655104399]