Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",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.001085/0.001086, allocations: 112.4 kB / 16.62 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.001184/0.001184, 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.352/1.352, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 45.14 kB / 300.2 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09393, allocations: 49.45 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002972/0.09694, allocations: 1.608 MB / 351.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.09778, allocations: 490.7 kB / 351.8 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.0979, allocations: 4 kB / 351.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.09795, allocations: 3.938 kB / 351.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.09811, allocations: 11.92 kB / 351.8 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.09838, allocations: 43.91 kB / 351.8 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.09848, allocations: 43.8 kB / 351.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.09858, allocations: 20.16 kB / 351.9 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.09866, allocations: 19.94 kB / 351.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.09872, allocations: 23.86 kB / 351.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.09874, allocations: 4 kB / 351.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.09876, allocations: 8 kB / 352 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.09881, allocations: 19.91 kB / 352 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.09885, allocations: 19.81 kB / 352 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.09896, allocations: 59.8 kB / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.09897, allocations: 0 / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.09898, allocations: 0 / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.09899, allocations: 0 / 352 MB, free: 2.289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00046/0.09945, allocations: 383.2 kB / 352.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.0995, allocations: 12.03 kB / 352.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.09954, allocations: 34.75 kB / 352.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.09957, allocations: 8.844 kB / 352.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.09977, allocations: 199 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.09978, allocations: 384 / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.0998, allocations: 8.375 kB / 352.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1, allocations: 105 kB / 352.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1001, allocations: 3.984 kB / 352.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1001, allocations: 0 / 352.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1001, allocations: 0 / 352.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.1002, allocations: 23.92 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.1005, allocations: 261.8 kB / 353.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1006, allocations: 49.14 kB / 353.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1007, allocations: 17.78 kB / 353.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1007, allocations: 3.984 kB / 353.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1007, allocations: 38.55 kB / 353.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1007, allocations: 0 / 353.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003069/0.101, allocations: 73.52 kB / 353.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.1011, allocations: 77.11 kB / 353.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1013, allocations: 145.7 kB / 353.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1013, allocations: 25.7 kB / 353.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1013, allocations: 100.1 kB / 353.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.1014, allocations: 0 / 353.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.1014, allocations: 25.81 kB / 353.6 MB, free: 492 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1015, allocations: 318.8 kB / 353.9 MB, free: 164 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.1016, allocations: 7.984 kB / 353.9 MB, free: 156 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.1016, allocations: 21.72 kB / 354 MB, free: 128 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.1017, allocations: 29.77 kB / 354 MB, free: 92 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1017, allocations: 0 / 354 MB, free: 92 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.1018, allocations: 57.61 kB / 354 MB, free: 28 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1018, allocations: 4 kB / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1019, allocations: 0 / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1019, allocations: 0 / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.1019, allocations: 8 kB / 354 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.102, allocations: 3.984 kB / 354.1 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.102, allocations: 3.984 kB / 354.1 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.102, allocations: 8.062 kB / 354.1 MB, free: 0 / 286.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.557e-05/0.1021, allocations: 117.8 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.1022, allocations: 49.53 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.1022, allocations: 3.875 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1022, allocations: 4 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1022, allocations: 0 / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1022, allocations: 0 / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1024, allocations: 173.6 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1024, allocations: 4 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.1025, allocations: 12.02 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1025, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1025, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1025, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1025, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1027, allocations: 164.2 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1027, allocations: 97.03 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1028, allocations: 4 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.1028, allocations: 3.984 kB / 354.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.1029, allocations: 0 / 354.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.1029, allocations: 11.94 kB / 354.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.103, allocations: 110 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.103, allocations: 0 / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1032, allocations: 4 kB / 354.8 MB, free: 15.15 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.0004247/0.1036, allocations: 0.7014 MB / 355.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1037, allocations: 23.92 kB / 355.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1038, allocations: 4.156 kB / 355.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.1038, allocations: 8 kB / 355.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1042, allocations: 21.14 kB / 355.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1055, allocations: 1.347 MB / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1058, allocations: 0.6846 MB / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.1058, allocations: 4.234 kB / 357.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1058, allocations: 15.44 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1059, allocations: 0 / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.1163, allocations: 1.475 MB / 359.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/0.1166, allocations: 224.7 kB / 359.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.022, allocations: 0 / 359.3 MB, free: 10.6 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches