Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008199/0.0008199, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007699/0.0007699, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8528/0.8528, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.914e-05, allocations: 6.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002685/0.002714, allocations: 1.63 MB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.003652, allocations: 0.522 MB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.003748, allocations: 7.938 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.00388, allocations: 7.938 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.004006, allocations: 19.73 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.004375, allocations: 62.67 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.004493, allocations: 67.72 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.004629, allocations: 11.98 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.004812, allocations: 43.83 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.004871, allocations: 19.92 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.00489, allocations: 4 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.00493, allocations: 8 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.004982, allocations: 27.91 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.005015, allocations: 19.92 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.005172, allocations: 71.72 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005175, allocations: 0 / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.005177, allocations: 0 / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005182, allocations: 0 / 327 MB, free: 13.33 MB / 298.7 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.0004952/0.005678, allocations: 329.8 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.005721, allocations: 15.98 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.005753, allocations: 34.73 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.005913, allocations: 28.88 kB / 327.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.006123, allocations: 153.4 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.006133, allocations: 8.375 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.006142, allocations: 384 / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.006423, allocations: 130.4 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006431, allocations: 192 / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006442, allocations: 12.12 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.006466, allocations: 0 / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.006545, allocations: 39.91 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.006925, allocations: 337 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.007034, allocations: 87.7 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.007085, allocations: 38.62 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.007103, allocations: 4 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.007122, allocations: 38.5 kB / 328.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007123, allocations: 0 / 328.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002644/0.007388, allocations: 117.5 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.007434, allocations: 106.8 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.007524, allocations: 158.2 kB / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.007534, allocations: 26.08 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.007571, allocations: 92.14 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.007586, allocations: 11.95 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.007612, allocations: 17.7 kB / 328.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.007683, allocations: 314.8 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.007717, allocations: 15.92 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.00775, allocations: 29.7 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.007818, allocations: 53.75 kB / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00782, allocations: 3.938 kB / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.159e-05/0.007912, allocations: 81.48 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.007923, allocations: 4 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.007928, allocations: 0 / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.007938, allocations: 0 / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.007995, allocations: 11.98 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.008, allocations: 0 / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.008023, allocations: 12 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.008029, allocations: 0 / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.934e-05/0.008088, allocations: 121.8 kB / 329.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.008139, allocations: 61.52 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.008162, allocations: 15.92 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.00817, allocations: 0 / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008175, allocations: 7.938 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008178, allocations: 3.984 kB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.008332, allocations: 160.6 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008335, allocations: 0 / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.008359, allocations: 12.02 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008362, allocations: 4 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.008368, allocations: 0 / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.008369, allocations: 0 / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008371, allocations: 3.984 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.008522, allocations: 275.5 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.008552, allocations: 15.94 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.008565, allocations: 4 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.008624, allocations: 8 kB / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.008656, allocations: 3.984 kB / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.00866, allocations: 4 kB / 330 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.008712, allocations: 115.2 kB / 330.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008712, allocations: 0 / 330.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.008882, allocations: 8 kB / 330.1 MB, free: 9.914 MB / 298.7 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.0003255/0.009208, allocations: 0.8062 MB / 330.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.009321, allocations: 39.97 kB / 331 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009322, allocations: 0 / 331 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.009356, allocations: 23.92 kB / 331 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.009663, allocations: 23.45 kB / 331 MB, free: 8.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.01067, allocations: 1.537 MB / 332.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.877e-05/0.01074, allocations: 88.06 kB / 332.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.01078, allocations: 11.98 kB / 332.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.01083, allocations: 20.5 kB / 332.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01083, allocations: 0 / 332.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.02698, allocations: 2.615 MB / 335.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/6.631, allocations: 4.062 kB / 335.3 MB, free: 4.723 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.35094912070781]