Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001742/0.001742, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.002113/0.002113, allocations: 219 kB / 21.46 MB, free: 1.586 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.52/1.52, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 51.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1223, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003472/0.1257, allocations: 1.59 MB / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.127, allocations: 0.5532 MB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1271, allocations: 3.938 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.338e-05/0.1271, allocations: 3.938 kB / 429.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1273, allocations: 23.86 kB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1277, allocations: 55.83 kB / 429.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1278, allocations: 51.78 kB / 429.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1279, allocations: 12.17 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1281, allocations: 31.86 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.1281, allocations: 19.86 kB / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1282, allocations: 4 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.1282, allocations: 4 kB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1282, allocations: 19.91 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1283, allocations: 31.8 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1285, allocations: 59.69 kB / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1285, allocations: 0 / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1285, allocations: 0 / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1285, allocations: 0 / 429.5 MB, free: 2.312 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.0007333/0.1292, allocations: 383 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.1293, allocations: 12.03 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.758e-05/0.1293, allocations: 8.188 kB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1293, allocations: 34.69 kB / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1295, allocations: 24.88 kB / 429.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.1299, allocations: 200.7 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.13, allocations: 3.938 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.13, allocations: 4 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.1303, allocations: 113 kB / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1303, allocations: 0 / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1303, allocations: 0 / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1303, allocations: 0 / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.1304, allocations: 23.92 kB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1309, allocations: 261.8 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.131, allocations: 49.14 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.131, allocations: 21.72 kB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1311, allocations: 0 / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1311, allocations: 34.56 kB / 430.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1311, allocations: 0 / 430.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003226/0.1314, allocations: 69.56 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1315, allocations: 85.11 kB / 430.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1317, allocations: 144 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1317, allocations: 29.7 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.1318, allocations: 88.12 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1318, allocations: 7.953 kB / 431 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1319, allocations: 17.97 kB / 431 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.132, allocations: 318.8 kB / 431.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.1321, allocations: 7.984 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.1321, allocations: 17.66 kB / 431.4 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.1322, allocations: 33.77 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1322, allocations: 0 / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001361/0.1324, allocations: 61.56 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1324, allocations: 8 kB / 431.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1324, allocations: 0 / 431.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1324, allocations: 0 / 431.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.1325, allocations: 4 kB / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1325, allocations: 7.875 kB / 431.5 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.1325, allocations: 8.047 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1325, allocations: 4.047 kB / 431.5 MB, free: 15.99 MB / 366.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 0.0001139/0.1327, allocations: 113.8 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.1327, allocations: 45.59 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1328, allocations: 11.86 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1328, allocations: 0 / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1328, allocations: 3.938 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-06/0.1328, allocations: 4 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.133, allocations: 169.7 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.133, allocations: 4.031 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.1331, allocations: 7.984 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1331, allocations: 4 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1331, allocations: 0 / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1331, allocations: 0 / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1331, allocations: 3.938 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1333, allocations: 160.4 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.1334, allocations: 93.05 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1334, allocations: 3.938 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.1335, allocations: 7.984 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1335, allocations: 7.875 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1335, allocations: 3.938 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1336, allocations: 114.4 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1336, allocations: 0 / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1338, allocations: 4 kB / 432.2 MB, free: 15.14 MB / 366.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.0005998/0.1344, allocations: 0.6937 MB / 432.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1346, allocations: 27.86 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1346, allocations: 8.156 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.1346, allocations: 4 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.135, allocations: 16.02 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1367, allocations: 1.332 MB / 434.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1371, allocations: 0.6885 MB / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1371, allocations: 7.984 kB / 435 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.1372, allocations: 11.44 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1372, allocations: 0 / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.1593, allocations: 1.678 MB / 436.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.297, allocations: 5.281 kB / 436.7 MB, free: 10.67 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 11.026934383960906]