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.001284/0.001284, allocations: 119.3 kB / 17.79 MB, free: 5.285 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.001296/0.001296, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.387/1.387, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.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.001433/0.001433, allocations: 47.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.1003, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002771/0.1031, allocations: 1.618 MB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.1039, allocations: 498.7 kB / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.104, allocations: 4 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1041, allocations: 7.875 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.802e-05/0.1042, allocations: 19.86 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1044, allocations: 43.89 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1045, allocations: 67.7 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.1046, allocations: 15.98 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.1047, allocations: 23.92 kB / 420.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1048, allocations: 27.86 kB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1048, allocations: 7.938 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.1048, allocations: 4 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.1049, allocations: 19.91 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.1049, allocations: 31.75 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.105, allocations: 79.59 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1051, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1051, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1051, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.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.000514/0.1056, allocations: 394.9 kB / 420.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1056, allocations: 8.031 kB / 420.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.1056, allocations: 38.75 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.1057, allocations: 12.88 kB / 420.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1059, allocations: 212.1 kB / 420.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1059, allocations: 4.375 kB / 420.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1059, allocations: 4.312 kB / 420.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.1062, allocations: 134 kB / 421 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1062, allocations: 4 kB / 421 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1062, allocations: 0 / 421 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.1063, allocations: 4 kB / 421 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1064, allocations: 39.97 kB / 421.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.1068, allocations: 373.8 kB / 421.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.107, allocations: 83.77 kB / 421.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.1071, allocations: 38.62 kB / 421.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.1071, allocations: 4 kB / 421.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1071, allocations: 30.56 kB / 421.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1071, allocations: 4 kB / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003503/0.1075, allocations: 113.5 kB / 421.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.1075, allocations: 111.2 kB / 421.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1077, allocations: 151.3 kB / 422 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1077, allocations: 25.7 kB / 422 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1077, allocations: 104.1 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1078, allocations: 7.953 kB / 422.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1078, allocations: 17.72 kB / 422.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1079, allocations: 322.8 kB / 422.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.108, allocations: 15.98 kB / 422.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.1081, allocations: 43.42 kB / 422.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1082, allocations: 75.33 kB / 422.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1082, allocations: 3.938 kB / 422.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001855/0.1084, allocations: 85.5 kB / 422.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1084, allocations: 14.17 kB / 422.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1084, allocations: 0 / 422.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1084, allocations: 0 / 422.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.1085, allocations: 8 kB / 422.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1085, allocations: 16.05 kB / 422.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.1086, allocations: 11.94 kB / 422.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1086, allocations: 0 / 422.7 MB, free: 7.367 MB / 350.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.759e-05/0.1087, allocations: 125.8 kB / 422.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.1088, allocations: 49.59 kB / 422.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1088, allocations: 15.86 kB / 422.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1088, allocations: 0 / 422.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1088, allocations: 4 kB / 422.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1088, allocations: 4.031 kB / 422.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.109, allocations: 181.6 kB / 423.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1091, allocations: 4 kB / 423.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1091, allocations: 7.984 kB / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1091, allocations: 0 / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1091, allocations: 4 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1091, allocations: 0 / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1091, allocations: 0 / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1094, allocations: 283.4 kB / 423.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1095, allocations: 93.05 kB / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1095, allocations: 4 kB / 423.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1096, allocations: 4 kB / 423.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1096, allocations: 4.125 kB / 423.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1096, allocations: 4 kB / 423.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.1097, allocations: 122.5 kB / 423.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1097, allocations: 0 / 423.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.11, allocations: 8 kB / 423.6 MB, free: 6.363 MB / 350.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.0005981/0.1106, allocations: 0.8067 MB / 424.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1108, allocations: 55.89 kB / 424.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1108, allocations: 0 / 424.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1108, allocations: 19.98 kB / 424.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1113, allocations: 20.39 kB / 424.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1129, allocations: 1.58 MB / 426.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1133, allocations: 0.6961 MB / 426.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.1133, allocations: 11.98 kB / 426.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.1134, allocations: 35.36 kB / 426.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1134, allocations: 0 / 426.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.1367, allocations: 1.9 MB / 428.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.068, allocations: 10.25 kB / 428.7 MB, free: 1.215 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.612524131778628]