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.001355/0.001355, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001471/0.001471, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.002357/0.002357, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3333, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003034/0.3363, allocations: 1.627 MB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3374, allocations: 0.5182 MB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.3374, allocations: 3.938 kB / 433.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.715e-05/0.3375, allocations: 7.922 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3377, allocations: 15.86 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.338, allocations: 71.78 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3381, allocations: 63.72 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3382, allocations: 15.98 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3383, allocations: 43.78 kB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.3384, allocations: 31.86 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3384, allocations: 0 / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.3385, allocations: 8 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3385, allocations: 19.92 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.3386, allocations: 27.8 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3387, allocations: 77.3 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3387, allocations: 3.984 kB / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3387, allocations: 0 / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3387, allocations: 0 / 433.6 MB, free: 4.078 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.0005491/0.3393, allocations: 329.8 kB / 433.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3393, allocations: 8.031 kB / 433.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.3393, allocations: 34.75 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.3396, allocations: 24.88 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3398, allocations: 150.2 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3398, allocations: 4.375 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3398, allocations: 384 / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.3402, allocations: 141.9 kB / 434.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3402, allocations: 4 kB / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3402, allocations: 0 / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.3402, allocations: 3.984 kB / 434.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3403, allocations: 43.91 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.3408, allocations: 340.9 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.341, allocations: 83.78 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.341, allocations: 38.61 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3411, allocations: 4 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3411, allocations: 38.5 kB / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3411, allocations: 0 / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003658/0.3415, allocations: 121.8 kB / 435 MB, free: 2.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.3415, allocations: 102.8 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3417, allocations: 154.2 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3417, allocations: 25.7 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.3417, allocations: 96.12 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.3418, allocations: 7.891 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.3418, allocations: 17.72 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3419, allocations: 330.7 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.342, allocations: 15.98 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.3421, allocations: 47.48 kB / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3422, allocations: 67.33 kB / 435.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3422, allocations: 0 / 435.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001882/0.3424, allocations: 85.59 kB / 435.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3424, allocations: 11.98 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3424, allocations: 0 / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3425, allocations: 0 / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3425, allocations: 16 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3426, allocations: 3.984 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.3426, allocations: 4 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3426, allocations: 0 / 435.9 MB, free: 1.496 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.717e-05/0.3427, allocations: 129.7 kB / 436.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.3428, allocations: 57.7 kB / 436.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.3428, allocations: 19.91 kB / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3429, allocations: 4 kB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3429, allocations: 0 / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3429, allocations: 0 / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3431, allocations: 152.7 kB / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3431, allocations: 3.938 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.3432, allocations: 11.98 kB / 436.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3432, allocations: 0 / 436.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3432, allocations: 0 / 436.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3432, allocations: 4.031 kB / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3432, allocations: 7.938 kB / 436.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3435, allocations: 275.6 kB / 436.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.3435, allocations: 23.88 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3435, allocations: 0 / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3436, allocations: 4 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3437, allocations: 7.984 kB / 436.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3437, allocations: 4 kB / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.3438, allocations: 120.1 kB / 436.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3438, allocations: 4 kB / 436.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.344, allocations: 11.94 kB / 436.7 MB, free: 0.5898 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.0005964/0.3446, allocations: 0.8062 MB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3448, allocations: 51.91 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3448, allocations: 0 / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.3449, allocations: 20.23 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.3453, allocations: 30.62 kB / 437.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3472, allocations: 1.581 MB / 439.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3473, allocations: 92.98 kB / 439.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.399e-05/0.3473, allocations: 11.98 kB / 439.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.3474, allocations: 19.42 kB / 439.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3474, allocations: 0 / 439.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3783, allocations: 2.504 MB / 441.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.08, allocations: 22.94 kB / 441.9 MB, free: 11.43 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.5899188540061]