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.001602/0.001602, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002015/0.002015, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.582/1.582, allocations: 230.6 MB / 254.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1315, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003455/0.1349, allocations: 1.583 MB / 427.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1361, allocations: 0.5532 MB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1362, allocations: 7.938 kB / 428.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.1363, allocations: 7.922 kB / 428.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1364, allocations: 11.88 kB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1368, allocations: 63.81 kB / 428.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1369, allocations: 51.78 kB / 428.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.137, allocations: 12.17 kB / 428.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1371, allocations: 27.86 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.1372, allocations: 27.84 kB / 428.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1372, allocations: 0 / 428.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.175e-05/0.1373, allocations: 12 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1373, allocations: 11.94 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.1374, allocations: 23.8 kB / 428.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1375, allocations: 67.67 kB / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1375, allocations: 0 / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1375, allocations: 4 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1375, allocations: 0 / 428.8 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.0005706/0.1381, allocations: 383 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1382, allocations: 8.031 kB / 429.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.1382, allocations: 34.75 kB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1384, allocations: 20.88 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.1387, allocations: 212.7 kB / 429.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1387, allocations: 8.125 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1387, allocations: 4 kB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.139, allocations: 101 kB / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.139, allocations: 0 / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.139, allocations: 7.984 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.139, allocations: 8 kB / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.1391, allocations: 15.92 kB / 429.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.1395, allocations: 257.8 kB / 429.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1396, allocations: 49.14 kB / 429.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1397, allocations: 17.78 kB / 429.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1397, allocations: 7.984 kB / 429.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1398, allocations: 34.56 kB / 429.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1398, allocations: 0 / 429.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002512/0.14, allocations: 69.78 kB / 430 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.1401, allocations: 81.14 kB / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1402, allocations: 148 kB / 430.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1402, allocations: 25.7 kB / 430.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.1403, allocations: 88.12 kB / 430.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1403, allocations: 7.953 kB / 430.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1404, allocations: 13.72 kB / 430.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1405, allocations: 318.8 kB / 430.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.1405, allocations: 15.94 kB / 430.7 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.1406, allocations: 17.7 kB / 430.7 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.1407, allocations: 29.7 kB / 430.7 MB, free: 104 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1407, allocations: 0 / 430.7 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/0.1408, allocations: 61.64 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1408, allocations: 8 kB / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1408, allocations: 0 / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1408, allocations: 0 / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.1409, allocations: 7.984 kB / 430.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1409, allocations: 11.88 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.141, allocations: 0 / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.141, allocations: 0 / 430.8 MB, free: 8 kB / 350.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.0001083/0.1411, allocations: 117.9 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.1411, allocations: 45.58 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.1412, allocations: 11.88 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1412, allocations: 0 / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1412, allocations: 7.938 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1412, allocations: 0 / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.1414, allocations: 165.7 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1414, allocations: 0 / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.1414, allocations: 11.98 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1414, allocations: 0 / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1414, allocations: 4 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1414, allocations: 7.969 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1414, allocations: 3.938 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1417, allocations: 164.3 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.1417, allocations: 93.03 kB / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1418, allocations: 0 / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.1418, allocations: 8.031 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1419, allocations: 3.938 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1419, allocations: 4 kB / 431.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.142, allocations: 114.1 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.142, allocations: 0 / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1422, allocations: 4 kB / 431.5 MB, free: 15.15 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.0005088/0.1427, allocations: 0.6937 MB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1428, allocations: 27.92 kB / 432.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1428, allocations: 0 / 432.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.1429, allocations: 7.984 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1432, allocations: 22.22 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1447, allocations: 1.33 MB / 433.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.145, allocations: 0.6885 MB / 434.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.1451, allocations: 4.031 kB / 434.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.1451, allocations: 19.44 kB / 434.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1451, allocations: 0 / 434.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1711, allocations: 1.647 MB / 436 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.696, allocations: 2.656 kB / 436 MB, free: 10.68 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 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.csv","/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.795238651990076]