Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001751/0.001751, allocations: 113.8 kB / 17.06 MB, free: 6.004 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.002091/0.002091, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.122/3.122, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 55.91 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6104, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.006878/0.6173, allocations: 1.568 MB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.6191, allocations: 497 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.6193, allocations: 4 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.218e-05/0.6195, allocations: 3.938 kB / 402.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.6197, allocations: 15.86 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.6202, allocations: 53.94 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.6204, allocations: 43.8 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.6206, allocations: 24.16 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.6208, allocations: 23.92 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.6209, allocations: 23.86 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.6209, allocations: 0 / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.621, allocations: 4 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.6211, allocations: 11.94 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.6211, allocations: 31.78 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.6214, allocations: 55.7 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6214, allocations: 0 / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6214, allocations: 4 kB / 402.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.6214, allocations: 0 / 402.6 MB, free: 6.445 MB / 318.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.0008031/0.6222, allocations: 384 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.6223, allocations: 11.89 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.249e-05/0.6224, allocations: 38.75 kB / 403 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.6225, allocations: 8.844 kB / 403 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.623, allocations: 196.1 kB / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.623, allocations: 8.375 kB / 403.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.6231, allocations: 8.312 kB / 403.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.6236, allocations: 117.8 kB / 403.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6236, allocations: 0 / 403.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.6236, allocations: 7.938 kB / 403.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.6236, allocations: 4 kB / 403.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.6238, allocations: 19.98 kB / 403.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.6244, allocations: 278.5 kB / 403.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.6247, allocations: 71.78 kB / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6248, allocations: 30.62 kB / 403.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.6249, allocations: 0 / 403.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.6249, allocations: 38.56 kB / 403.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.085e-06/0.6249, allocations: 4 kB / 403.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005502/0.6255, allocations: 85.45 kB / 403.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6257, allocations: 102.8 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.6259, allocations: 153.7 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.626, allocations: 25.7 kB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6261, allocations: 88.52 kB / 404.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.6262, allocations: 4 kB / 404.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.6263, allocations: 21.7 kB / 404.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6265, allocations: 318.8 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.6266, allocations: 11.98 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.6267, allocations: 31.44 kB / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.6269, allocations: 51.36 kB / 404.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6269, allocations: 0 / 404.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002814/0.6272, allocations: 77.45 kB / 404.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.6272, allocations: 8.125 kB / 404.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.6273, allocations: 4 kB / 404.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.6273, allocations: 0 / 404.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6274, allocations: 11.98 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.6275, allocations: 0 / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.6276, allocations: 7.938 kB / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.6276, allocations: 4 kB / 404.8 MB, free: 3.949 MB / 318.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.0001878/0.6278, allocations: 125.8 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6279, allocations: 53.55 kB / 405 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.628, allocations: 15.86 kB / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.628, allocations: 0 / 405 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.6281, allocations: 4 kB / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6281, allocations: 0 / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.6284, allocations: 173.6 kB / 405.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6285, allocations: 7.938 kB / 405.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.6286, allocations: 11.98 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.6286, allocations: 0 / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.6286, allocations: 0 / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.6286, allocations: 8 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6287, allocations: 4 kB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.629, allocations: 181.2 kB / 405.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6292, allocations: 89 kB / 405.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.6292, allocations: 0 / 405.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6294, allocations: 15.98 kB / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.6294, allocations: 0 / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.6294, allocations: 4 kB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.6296, allocations: 109.8 kB / 405.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6296, allocations: 0 / 405.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.63, allocations: 8 kB / 405.6 MB, free: 3.047 MB / 318.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 (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 Backend phase and start with SimCode phase: time 0.0009011/0.6309, allocations: 0.7178 MB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.6313, allocations: 31.92 kB / 406.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.6313, allocations: 4 kB / 406.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.6314, allocations: 8.234 kB / 406.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.6321, allocations: 39.95 kB / 406.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.6343, allocations: 1.391 MB / 407.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.6347, allocations: 0.6922 MB / 408.5 MB, free: 16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.6348, allocations: 4 kB / 408.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.6349, allocations: 23.42 kB / 408.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6349, allocations: 0 / 408.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/0.7493, allocations: 1.732 MB / 410.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.64, allocations: 11.58 kB / 410.2 MB, free: 14.34 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches