Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008848/0.0008848, allocations: 95.56 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000193/0.0001929, allocations: 4 kB / 307.8 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.08382, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00172/0.08558, allocations: 1.281 MB / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.08646, allocations: 0.5144 MB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.08656, allocations: 0 / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.0866, allocations: 7.922 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.08673, allocations: 7.938 kB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.08703, allocations: 51.89 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.08713, allocations: 43.8 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.08723, allocations: 24.14 kB / 361.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.08735, allocations: 19.94 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.08742, allocations: 23.86 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.08744, allocations: 0 / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.08748, allocations: 4 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.08753, allocations: 19.91 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.08759, allocations: 53.52 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.08771, allocations: 55.72 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.08772, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08772, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.08773, allocations: 0 / 361.5 MB, free: 11.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000441/0.08818, allocations: 367.4 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.08823, allocations: 12.03 kB / 361.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.08827, allocations: 34.75 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.08842, allocations: 24.83 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.08864, allocations: 192.2 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.08866, allocations: 384 / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.08868, allocations: 8.312 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.08897, allocations: 117 kB / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.08899, allocations: 0 / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.089, allocations: 4 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.08901, allocations: 0 / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.08911, allocations: 23.92 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.08945, allocations: 269.7 kB / 362.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.08956, allocations: 45.16 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.08962, allocations: 25.77 kB / 362.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.08966, allocations: 7.938 kB / 362.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.08969, allocations: 34.56 kB / 362.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.0897, allocations: 0 / 362.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002769/0.08998, allocations: 73.52 kB / 362.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.09005, allocations: 81.11 kB / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.09018, allocations: 144.5 kB / 362.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.0902, allocations: 25.7 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.09025, allocations: 88.12 kB / 363 MB, free: 9.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.09028, allocations: 7.906 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.0903, allocations: 9.719 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.09041, allocations: 318.8 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.09046, allocations: 15.92 kB / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.09051, allocations: 29.7 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.09059, allocations: 25.72 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.09061, allocations: 4 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.09073, allocations: 65.67 kB / 363.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.09075, allocations: 4 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.09076, allocations: 0 / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.09079, allocations: 0 / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.09086, allocations: 8 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.09088, allocations: 0 / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.09092, allocations: 7.984 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.09093, allocations: 0 / 363.5 MB, free: 8.766 MB / 302.1 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 8.01e-05/0.09102, allocations: 126.9 kB / 363.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.09108, allocations: 45.53 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.09112, allocations: 15.83 kB / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.09113, allocations: 0 / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.09114, allocations: 0 / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.09115, allocations: 3.984 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.09132, allocations: 169.6 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.09133, allocations: 0 / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.09138, allocations: 7.984 kB / 363.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0914, allocations: 4.031 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.09141, allocations: 11.94 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.09142, allocations: 0 / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.09143, allocations: 0 / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.0916, allocations: 172.1 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.09167, allocations: 93 kB / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.09169, allocations: 3.984 kB / 364.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.09176, allocations: 4 kB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.0918, allocations: 0 / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.09181, allocations: 0 / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.09188, allocations: 113.5 kB / 364.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09189, allocations: 0 / 364.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.09211, allocations: 4 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0003796/0.0925, allocations: 0.6976 MB / 364.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.09263, allocations: 31.95 kB / 365 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.09264, allocations: 0 / 365 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.09268, allocations: 8 kB / 365 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.09303, allocations: 16.02 kB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.09424, allocations: 1.364 MB / 366.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.09447, allocations: 0.6887 MB / 367.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.369e-05/0.09451, allocations: 4 kB / 367.1 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.09456, allocations: 15.38 kB / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09457, allocations: 0 / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01092/0.1055, allocations: 1.322 MB / 368.4 MB, free: 3.754 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.1057, allocations: 217.9 kB / 368.6 MB, free: 3.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/1.754, allocations: 0 / 368.6 MB, free: 3.492 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches