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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009091/0.0009092, allocations: 94.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.7 MB / 246.8 MB, free: 9.586 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002253/0.0002256, allocations: 8 kB / 307.8 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09733, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001703/0.09907, allocations: 1.34 MB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.09998, allocations: 0.5377 MB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.1001, allocations: 0 / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.1002, allocations: 7.922 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.214e-05/0.1003, allocations: 15.92 kB / 361.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1006, allocations: 67.75 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1007, allocations: 51.84 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.1008, allocations: 19.92 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1009, allocations: 31.84 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.101, allocations: 27.86 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.101, allocations: 4 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.1011, allocations: 8 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.1011, allocations: 15.92 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.1012, allocations: 65.42 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1013, allocations: 63.72 kB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1013, allocations: 3.938 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1013, allocations: 0 / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1013, allocations: 0 / 361.6 MB, free: 10.7 MB / 302.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.0004479/0.1018, allocations: 397.5 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1018, allocations: 8.031 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.1019, allocations: 34.75 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.1021, allocations: 32.81 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.1022, allocations: 209 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1023, allocations: 8.375 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1023, allocations: 4.375 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.1026, allocations: 130 kB / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1026, allocations: 0 / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1026, allocations: 4 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.1026, allocations: 8 kB / 362.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1028, allocations: 55.88 kB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1032, allocations: 377.9 kB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1033, allocations: 87.78 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.1034, allocations: 42.61 kB / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1035, allocations: 0 / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1035, allocations: 42.5 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1035, allocations: 4 kB / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003578/0.1039, allocations: 117.5 kB / 363.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1039, allocations: 115.2 kB / 363.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.104, allocations: 154.8 kB / 363.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1041, allocations: 25.7 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1041, allocations: 104 kB / 363.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1041, allocations: 3.906 kB / 363.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1042, allocations: 13.72 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.1043, allocations: 322.8 kB / 363.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.1043, allocations: 27.98 kB / 363.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.1044, allocations: 51.3 kB / 363.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1046, allocations: 75.34 kB / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1046, allocations: 0 / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001905/0.1048, allocations: 97.5 kB / 364.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1048, allocations: 4 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1048, allocations: 4 kB / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1048, allocations: 0 / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.1049, allocations: 15.98 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1049, allocations: 3.938 kB / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.105, allocations: 8.109 kB / 364.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.105, allocations: 8 kB / 364.2 MB, free: 7.852 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 7.694e-05/0.1051, allocations: 129.7 kB / 364.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.1052, allocations: 57.5 kB / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.1052, allocations: 19.81 kB / 364.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.1053, allocations: 0 / 364.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1053, allocations: 4 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1053, allocations: 0 / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1055, allocations: 185.6 kB / 364.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1055, allocations: 8.031 kB / 364.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.1056, allocations: 11.98 kB / 364.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1056, allocations: 0 / 364.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1056, allocations: 0 / 364.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1056, allocations: 0 / 364.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1056, allocations: 4 kB / 364.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1059, allocations: 279.4 kB / 364.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1059, allocations: 97 kB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.106, allocations: 3.984 kB / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1061, allocations: 8 kB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1061, allocations: 4 kB / 364.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1061, allocations: 3.984 kB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.444e-05/0.1062, allocations: 119.2 kB / 365.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1062, allocations: 0 / 365.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1065, allocations: 8 kB / 365.1 MB, free: 6.82 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.0004689/0.107, allocations: 0.81 MB / 365.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1072, allocations: 67.89 kB / 366 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1072, allocations: 0 / 366 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.1072, allocations: 23.92 kB / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1077, allocations: 24.02 kB / 366 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1092, allocations: 1.627 MB / 367.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1094, allocations: 0.6965 MB / 368.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.1095, allocations: 12.02 kB / 368.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.1095, allocations: 27.42 kB / 368.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1095, allocations: 0 / 368.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.1206, allocations: 1.682 MB / 370 MB, free: 1.871 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.1208, allocations: 232.9 kB / 370.3 MB, free: 1.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.795, allocations: 4 kB / 370.3 MB, free: 1.609 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches