Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 113.1 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2634, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003064/0.2665, allocations: 1.637 MB / 432.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2675, allocations: 0.5764 MB / 433.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.2676, allocations: 0 / 433.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.021e-05/0.2677, allocations: 7.875 kB / 433.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2678, allocations: 15.86 kB / 433.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2681, allocations: 63.81 kB / 433.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2682, allocations: 71.7 kB / 433.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2683, allocations: 11.98 kB / 433.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.2684, allocations: 35.86 kB / 433.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.2685, allocations: 31.84 kB / 433.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2685, allocations: 4 kB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.2686, allocations: 8 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.2686, allocations: 15.92 kB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.2687, allocations: 39.73 kB / 433.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2688, allocations: 79.95 kB / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2688, allocations: 0 / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2688, allocations: 4 kB / 433.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2688, allocations: 4 kB / 433.7 MB, free: 4.262 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.0005183/0.2694, allocations: 317.9 kB / 434.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2694, allocations: 8.031 kB / 434.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.2695, allocations: 38.75 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.2697, allocations: 28.86 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.2699, allocations: 162.2 kB / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2699, allocations: 384 / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.27, allocations: 4.375 kB / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2703, allocations: 133.9 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2703, allocations: 4 kB / 434.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2703, allocations: 7.984 kB / 434.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.2703, allocations: 3.938 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2704, allocations: 43.91 kB / 434.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.2709, allocations: 348.9 kB / 434.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.2711, allocations: 79.78 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.2711, allocations: 42.61 kB / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2712, allocations: 0 / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2712, allocations: 38.5 kB / 435 MB, free: 2.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.2712, allocations: 0 / 435 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003674/0.2716, allocations: 113.5 kB / 435.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.2716, allocations: 107.2 kB / 435.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2718, allocations: 154.2 kB / 435.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2718, allocations: 25.7 kB / 435.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2719, allocations: 104.1 kB / 435.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2719, allocations: 3.953 kB / 435.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2719, allocations: 21.7 kB / 435.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2721, allocations: 318.8 kB / 435.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.2721, allocations: 15.98 kB / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.2722, allocations: 51.34 kB / 435.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2724, allocations: 67.34 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2724, allocations: 0 / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002016/0.2726, allocations: 89.55 kB / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2726, allocations: 4 kB / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2726, allocations: 0 / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2726, allocations: 4 kB / 436 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.2727, allocations: 11.98 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2727, allocations: 128 / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.2728, allocations: 8 kB / 436.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2728, allocations: 7.984 kB / 436.1 MB, free: 1.668 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.0001111/0.2729, allocations: 129.7 kB / 436.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.273, allocations: 49.64 kB / 436.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.273, allocations: 15.92 kB / 436.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.273, allocations: 4 kB / 436.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.273, allocations: 0 / 436.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.273, allocations: 4 kB / 436.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.2733, allocations: 164.6 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2733, allocations: 7.938 kB / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.2733, allocations: 11.92 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2734, allocations: 0 / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2734, allocations: 4 kB / 436.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2734, allocations: 4 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2734, allocations: 0 / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.2737, allocations: 279.5 kB / 436.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.2737, allocations: 23.88 kB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2737, allocations: 0 / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2738, allocations: 4 kB / 436.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2739, allocations: 3.984 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2739, allocations: 4 kB / 436.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.274, allocations: 120.1 kB / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.274, allocations: 0 / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2743, allocations: 8 kB / 436.9 MB, free: 0.7656 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.0006308/0.2749, allocations: 0.8062 MB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2751, allocations: 51.84 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2751, allocations: 0 / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.2752, allocations: 19.98 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.2756, allocations: 23.55 kB / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2775, allocations: 1.599 MB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2778, allocations: 0.6963 MB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.2779, allocations: 11.98 kB / 440.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.278, allocations: 27.42 kB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.278, allocations: 0 / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.3068, allocations: 2.052 MB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.13, allocations: 7.375 kB / 442.2 MB, free: 11.46 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.669874778999656]