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.001085, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.00105/0.00105, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 46.98 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1238, allocations: 49.43 MB / 349.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002551/0.1264, allocations: 1.616 MB / 351.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.1271, allocations: 490.8 kB / 351.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.1272, allocations: 0 / 351.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.1272, allocations: 7.938 kB / 351.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1273, allocations: 11.92 kB / 351.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1276, allocations: 39.91 kB / 351.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.1276, allocations: 47.8 kB / 351.7 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.1277, allocations: 16.17 kB / 351.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.1278, allocations: 23.91 kB / 351.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.1279, allocations: 19.81 kB / 351.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1279, allocations: 8 kB / 351.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.1279, allocations: 7.938 kB / 351.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.1279, allocations: 11.92 kB / 351.8 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.128, allocations: 27.8 kB / 351.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.959e-05/0.1281, allocations: 51.75 kB / 351.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1281, allocations: 0 / 351.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.1281, allocations: 0 / 351.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1281, allocations: 0 / 351.9 MB, free: 2.168 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.0004131/0.1285, allocations: 379.4 kB / 352.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1285, allocations: 12.03 kB / 352.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1286, allocations: 38.75 kB / 352.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.1286, allocations: 8.844 kB / 352.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1288, allocations: 192.1 kB / 352.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1288, allocations: 8.375 kB / 352.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1288, allocations: 384 / 352.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1291, allocations: 112.9 kB / 352.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1291, allocations: 4 kB / 352.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.1291, allocations: 0 / 352.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1291, allocations: 0 / 352.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.1292, allocations: 19.92 kB / 352.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.1294, allocations: 269.8 kB / 352.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.1295, allocations: 45.16 kB / 352.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.1296, allocations: 21.77 kB / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1296, allocations: 0 / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1296, allocations: 38.5 kB / 353 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1296, allocations: 4 kB / 353 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002237/0.1299, allocations: 65.58 kB / 353.1 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1299, allocations: 81.05 kB / 353.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.13, allocations: 140.8 kB / 353.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1301, allocations: 25.7 kB / 353.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.1301, allocations: 96.06 kB / 353.4 MB, free: 408 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.1301, allocations: 4.25 kB / 353.4 MB, free: 404 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1302, allocations: 17.62 kB / 353.4 MB, free: 380 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.1303, allocations: 326.8 kB / 353.7 MB, free: 44 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.1303, allocations: 4 kB / 353.7 MB, free: 40 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.1304, allocations: 21.7 kB / 353.8 MB, free: 12 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.1305, allocations: 33.77 kB / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1305, allocations: 0 / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/0.1306, allocations: 53.62 kB / 353.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1306, allocations: 8 kB / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1306, allocations: 0 / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.1306, allocations: 0 / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1307, allocations: 7.984 kB / 353.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1307, allocations: 3.938 kB / 353.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.1307, allocations: 8.062 kB / 353.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1308, allocations: 0 / 353.9 MB, free: 15.89 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 6.787e-05/0.1308, allocations: 121.7 kB / 354 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.1309, allocations: 41.59 kB / 354 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.1309, allocations: 11.88 kB / 354 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1309, allocations: 0 / 354 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1309, allocations: 0 / 354 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1309, allocations: 0 / 354 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1311, allocations: 173.6 kB / 354.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1311, allocations: 4.031 kB / 354.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.1312, allocations: 11.98 kB / 354.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1312, allocations: 3.938 kB / 354.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1312, allocations: 4 kB / 354.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1312, allocations: 0 / 354.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1312, allocations: 0 / 354.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.1314, allocations: 168.2 kB / 354.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1314, allocations: 93 kB / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1314, allocations: 0 / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1315, allocations: 4 kB / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.1315, allocations: 0 / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-06/0.1316, allocations: 0 / 354.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.915e-05/0.1316, allocations: 111.2 kB / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1316, allocations: 0 / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.1319, allocations: 4 kB / 354.6 MB, free: 15.04 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.0003875/0.1322, allocations: 0.7014 MB / 355.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1324, allocations: 24.08 kB / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1324, allocations: 0 / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.672e-05/0.1324, allocations: 8 kB / 355.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1328, allocations: 27.95 kB / 355.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1339, allocations: 1.34 MB / 356.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1342, allocations: 0.6887 MB / 357.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.822e-05/0.1342, allocations: 4 kB / 357.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1342, allocations: 11.44 kB / 357.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1342, allocations: 7.969 kB / 357.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.157, allocations: 1.437 MB / 358.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.1573, allocations: 216.5 kB / 359.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/1.976, allocations: 0 / 359.1 MB, free: 10.52 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