Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 55.86 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 53.31 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003261/0.1109, allocations: 1.613 MB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.112, allocations: 0.5532 MB / 428.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1121, allocations: 7.938 kB / 428.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.411e-05/0.1122, allocations: 3.938 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1123, allocations: 19.86 kB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1127, allocations: 55.81 kB / 428.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1128, allocations: 47.8 kB / 428.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.113, allocations: 20.16 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1131, allocations: 35.86 kB / 428.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.1131, allocations: 19.86 kB / 428.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1132, allocations: 4 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.1132, allocations: 4 kB / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.1133, allocations: 15.92 kB / 428.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1133, allocations: 31.8 kB / 428.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1135, allocations: 59.67 kB / 428.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1135, allocations: 0 / 428.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1135, allocations: 0 / 428.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1135, allocations: 0 / 428.8 MB, free: 2.309 MB / 350.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.0005233/0.114, allocations: 387 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.114, allocations: 8.031 kB / 429.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.1141, allocations: 38.75 kB / 429.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1142, allocations: 16.88 kB / 429.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1145, allocations: 208.7 kB / 429.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1145, allocations: 4.125 kB / 429.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1146, allocations: 8 kB / 429.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1148, allocations: 121.8 kB / 429.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1148, allocations: 4 kB / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1148, allocations: 0 / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1149, allocations: 0 / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.1149, allocations: 27.92 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.1153, allocations: 270.6 kB / 429.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1154, allocations: 71.78 kB / 429.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.1155, allocations: 34.62 kB / 430 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1155, allocations: 0 / 430 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1155, allocations: 34.5 kB / 430 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1155, allocations: 0 / 430 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002873/0.1158, allocations: 89.52 kB / 430.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.1159, allocations: 110.8 kB / 430.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1161, allocations: 143.8 kB / 430.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1161, allocations: 33.64 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1162, allocations: 92.12 kB / 430.5 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.1162, allocations: 384 / 430.5 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1162, allocations: 29.67 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1164, allocations: 314.8 kB / 430.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/0.1164, allocations: 12 kB / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1165, allocations: 35.42 kB / 430.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1166, allocations: 55.3 kB / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1166, allocations: 0 / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.1167, allocations: 65.61 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1168, allocations: 4 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1168, allocations: 96 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.1168, allocations: 12.11 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.1169, allocations: 8 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1169, allocations: 7.875 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.1169, allocations: 11.98 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1169, allocations: 0 / 431 MB, free: 15.79 MB / 366.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 9.915e-05/0.117, allocations: 117.8 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.1171, allocations: 57.59 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.1172, allocations: 15.81 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1172, allocations: 4.062 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1172, allocations: 3.938 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1172, allocations: 4 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.1174, allocations: 169.6 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1174, allocations: 4 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.1174, allocations: 4 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1174, allocations: 4 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1174, allocations: 0 / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1174, allocations: 7.922 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1174, allocations: 7.938 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1177, allocations: 181.1 kB / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.1177, allocations: 89.05 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1177, allocations: 0 / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.1178, allocations: 4 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.1179, allocations: 7.938 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1179, allocations: 8 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.118, allocations: 110.2 kB / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1182, allocations: 8 kB / 431.8 MB, free: 14.88 MB / 366.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.000522/0.1187, allocations: 0.7102 MB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1188, allocations: 27.98 kB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1189, allocations: 3.938 kB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.1189, allocations: 12 kB / 432.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1192, allocations: 32.39 kB / 432.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1208, allocations: 1.409 MB / 434 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1211, allocations: 0.6885 MB / 434.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.1211, allocations: 4 kB / 434.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.1212, allocations: 23.42 kB / 434.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1212, allocations: 0 / 434.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1448, allocations: 1.753 MB / 436.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.868, allocations: 8.062 kB / 436.5 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.287719145882875]