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.001967/0.001967, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002425/0.002425, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.621/1.621, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001856/0.001856, allocations: 67.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1066, allocations: 53.37 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002847/0.1094, allocations: 1.64 MB / 428 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.1104, allocations: 0.561 MB / 428.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.1105, allocations: 11.94 kB / 428.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.336e-05/0.1106, allocations: 11.86 kB / 428.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1107, allocations: 11.88 kB / 428.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.111, allocations: 59.8 kB / 428.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1111, allocations: 67.72 kB / 428.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.1112, allocations: 11.98 kB / 428.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1113, allocations: 43.84 kB / 428.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.1114, allocations: 23.86 kB / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1114, allocations: 8 kB / 428.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.847e-05/0.1115, allocations: 15.98 kB / 428.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1115, allocations: 15.92 kB / 428.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.1116, allocations: 35.73 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1117, allocations: 75.55 kB / 428.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1117, allocations: 0 / 428.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1117, allocations: 0 / 428.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1117, allocations: 0 / 428.9 MB, free: 2.012 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.000547/0.1123, allocations: 410.9 kB / 429.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1123, allocations: 12.03 kB / 429.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.1123, allocations: 34.75 kB / 429.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.1125, allocations: 24.88 kB / 429.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1128, allocations: 212.1 kB / 429.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1128, allocations: 4.312 kB / 429.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1128, allocations: 12.31 kB / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1131, allocations: 126 kB / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1131, allocations: 0 / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1131, allocations: 4 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1132, allocations: 0 / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1133, allocations: 39.97 kB / 429.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.1138, allocations: 385.8 kB / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1139, allocations: 83.78 kB / 430.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.114, allocations: 34.62 kB / 430.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.114, allocations: 4 kB / 430.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1141, allocations: 34.55 kB / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1141, allocations: 0 / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003692/0.1144, allocations: 121.5 kB / 430.5 MB, free: 284 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.1145, allocations: 102.8 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1147, allocations: 158.2 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1147, allocations: 29.7 kB / 430.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1147, allocations: 96.03 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1148, allocations: 8.328 kB / 430.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1148, allocations: 21.72 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1149, allocations: 322.8 kB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.115, allocations: 15.98 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.1151, allocations: 47.34 kB / 431.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1152, allocations: 67.34 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1152, allocations: 0 / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001984/0.1154, allocations: 93.61 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1154, allocations: 8 kB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1154, allocations: 4 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1155, allocations: 4 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.1155, allocations: 11.98 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1155, allocations: 0 / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1156, allocations: 7.984 kB / 431.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1156, allocations: 8 kB / 431.4 MB, free: 15.2 MB / 366.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.105e-05/0.1157, allocations: 121.8 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.1158, allocations: 53.59 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.1158, allocations: 15.86 kB / 431.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.1158, allocations: 4 kB / 431.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1158, allocations: 0 / 431.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1158, allocations: 3.938 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.1161, allocations: 193.5 kB / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1161, allocations: 0 / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.1162, allocations: 11.98 kB / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1162, allocations: 0 / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1162, allocations: 0 / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1162, allocations: 8.031 kB / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1162, allocations: 0 / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1165, allocations: 271.5 kB / 432.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.1165, allocations: 97.03 kB / 432.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1166, allocations: 7.984 kB / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1167, allocations: 4 kB / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.1167, allocations: 4 kB / 432.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.1167, allocations: 3.984 kB / 432.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.554e-05/0.1168, allocations: 119.2 kB / 432.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1168, allocations: 0 / 432.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1171, allocations: 8 kB / 432.3 MB, free: 14.18 MB / 366.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.0006043/0.1177, allocations: 0.8062 MB / 433.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1179, allocations: 56.08 kB / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1179, allocations: 0 / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/0.118, allocations: 23.92 kB / 433.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1184, allocations: 20.02 kB / 433.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.12, allocations: 1.57 MB / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1204, allocations: 0.7079 MB / 435.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.1204, allocations: 8.219 kB / 435.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.1205, allocations: 27.42 kB / 435.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1205, allocations: 0 / 435.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.1435, allocations: 1.956 MB / 437.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.748, allocations: 18.31 kB / 437.5 MB, free: 8.977 MB / 366.1 MB " [Timeout remaining time 652] (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/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_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: 10.59407344693318]