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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 112.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 46.98 kB / 300.2 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 49.44 MB / 349.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003297/0.1131, allocations: 1.655 MB / 351.3 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1142, allocations: 494.8 kB / 351.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1143, allocations: 0 / 351.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1144, allocations: 7.938 kB / 351.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1146, allocations: 15.86 kB / 351.8 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1149, allocations: 47.83 kB / 351.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.115, allocations: 51.84 kB / 351.9 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1152, allocations: 23.98 kB / 352 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1153, allocations: 31.86 kB / 352 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.1154, allocations: 35.77 kB / 352 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1154, allocations: 7.938 kB / 352 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.1154, allocations: 4 kB / 352 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.1155, allocations: 15.92 kB / 352.1 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.1155, allocations: 27.81 kB / 352.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1157, allocations: 67.72 kB / 352.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1157, allocations: 0 / 352.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1157, allocations: 4 kB / 352.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1157, allocations: 0 / 352.2 MB, free: 1.941 MB / 286.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.0005504/0.1163, allocations: 395.3 kB / 352.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1163, allocations: 12.03 kB / 352.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1164, allocations: 34.75 kB / 352.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1164, allocations: 12.75 kB / 352.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1166, allocations: 200.1 kB / 352.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1166, allocations: 4.375 kB / 352.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1166, allocations: 4.375 kB / 352.8 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.117, allocations: 130 kB / 352.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.117, allocations: 3.938 kB / 352.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.117, allocations: 0 / 352.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.117, allocations: 4 kB / 352.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1172, allocations: 43.97 kB / 353 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.1178, allocations: 369.8 kB / 353.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1179, allocations: 91.77 kB / 353.4 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.118, allocations: 34.62 kB / 353.5 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1181, allocations: 4 kB / 353.5 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1181, allocations: 34.56 kB / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1181, allocations: 0 / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003977/0.1185, allocations: 125.4 kB / 353.6 MB, free: 252 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.1186, allocations: 102.8 kB / 353.7 MB, free: 124 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1188, allocations: 152.3 kB / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1188, allocations: 29.7 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1189, allocations: 99.98 kB / 354 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1189, allocations: 3.906 kB / 354 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.119, allocations: 21.7 kB / 354 MB, free: 15.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1191, allocations: 322.8 kB / 354.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.1192, allocations: 15.97 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.1193, allocations: 43.42 kB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1195, allocations: 67.28 kB / 354.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1195, allocations: 3.938 kB / 354.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002199/0.1197, allocations: 101.4 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1198, allocations: 4 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1198, allocations: 0 / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1198, allocations: 4 kB / 354.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1199, allocations: 11.98 kB / 354.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1199, allocations: 0 / 354.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.12, allocations: 4 kB / 354.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.12, allocations: 8.125 kB / 354.6 MB, free: 15.18 MB / 302.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.0001084/0.1201, allocations: 121.8 kB / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.1202, allocations: 57.53 kB / 354.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.1203, allocations: 7.875 kB / 354.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.1203, allocations: 4 kB / 354.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1203, allocations: 0 / 354.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1203, allocations: 3.984 kB / 354.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.1206, allocations: 181.6 kB / 355 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1206, allocations: 0 / 355 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.1207, allocations: 16.02 kB / 355 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1207, allocations: 0 / 355 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1207, allocations: 4 kB / 355 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1207, allocations: 0 / 355 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1207, allocations: 7.984 kB / 355 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.121, allocations: 279.5 kB / 355.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.1211, allocations: 93 kB / 355.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1212, allocations: 0 / 355.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1213, allocations: 7.984 kB / 355.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1213, allocations: 4 kB / 355.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1214, allocations: 0 / 355.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.01e-05/0.1214, allocations: 118.9 kB / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1215, allocations: 0 / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1217, allocations: 12 kB / 355.5 MB, free: 14.18 MB / 302.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.0006386/0.1224, allocations: 0.8138 MB / 356.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1226, allocations: 51.91 kB / 356.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1226, allocations: 0 / 356.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.1227, allocations: 19.98 kB / 356.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.1232, allocations: 35.14 kB / 356.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.125, allocations: 1.578 MB / 358 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.1255, allocations: 0.6963 MB / 358.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1256, allocations: 11.98 kB / 358.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.1256, allocations: 19.44 kB / 358.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1257, allocations: 0 / 358.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.1398, allocations: 1.74 MB / 360.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.1402, allocations: 243.4 kB / 360.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.19, allocations: 2.953 kB / 360.7 MB, free: 8.957 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches