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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 123.9 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 55.91 kB / 365.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1248, allocations: 52.15 MB / 417.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003548/0.1283, allocations: 1.563 MB / 419.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1294, allocations: 0.4986 MB / 419.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1295, allocations: 0 / 419.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.1295, allocations: 3.938 kB / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1297, allocations: 15.86 kB / 419.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.13, allocations: 51.81 kB / 419.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1301, allocations: 39.86 kB / 419.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1302, allocations: 16.17 kB / 420 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.968e-05/0.1303, allocations: 23.86 kB / 420 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.1304, allocations: 19.91 kB / 420 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1304, allocations: 8 kB / 420 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.1304, allocations: 4 kB / 420 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.1305, allocations: 11.94 kB / 420 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.1305, allocations: 27.8 kB / 420.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1307, allocations: 59.62 kB / 420.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1307, allocations: 0 / 420.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1307, allocations: 0 / 420.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1307, allocations: 0 / 420.1 MB, free: 10.38 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.0006342/0.1313, allocations: 391 kB / 420.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1314, allocations: 12.03 kB / 420.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.1314, allocations: 30.75 kB / 420.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1315, allocations: 8.891 kB / 420.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1318, allocations: 192.3 kB / 420.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1318, allocations: 4.375 kB / 420.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1318, allocations: 4.312 kB / 420.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.1321, allocations: 124.9 kB / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1321, allocations: 0 / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1321, allocations: 0 / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1321, allocations: 0 / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.1322, allocations: 19.98 kB / 420.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1326, allocations: 265.8 kB / 421.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.1327, allocations: 41.14 kB / 421.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.1328, allocations: 21.78 kB / 421.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1328, allocations: 0 / 421.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1328, allocations: 34.5 kB / 421.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1328, allocations: 7.938 kB / 421.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002618/0.1331, allocations: 65.62 kB / 421.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.1331, allocations: 85.05 kB / 421.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1333, allocations: 144.2 kB / 421.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1333, allocations: 25.7 kB / 421.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.1334, allocations: 88.33 kB / 421.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1334, allocations: 8 kB / 421.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.1334, allocations: 21.66 kB / 421.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1336, allocations: 322.8 kB / 422 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.1336, allocations: 4 kB / 422 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.1337, allocations: 21.64 kB / 422 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.1338, allocations: 33.77 kB / 422 MB, free: 8.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1338, allocations: 3.938 kB / 422 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.1339, allocations: 49.69 kB / 422.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1339, allocations: 8 kB / 422.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1339, allocations: 0 / 422.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1339, allocations: 3.984 kB / 422.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.134, allocations: 4 kB / 422.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.134, allocations: 0 / 422.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.134, allocations: 8.062 kB / 422.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1341, allocations: 3.938 kB / 422.1 MB, free: 8.09 MB / 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.0001016/0.1342, allocations: 121.8 kB / 422.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.1342, allocations: 45.64 kB / 422.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.1343, allocations: 7.875 kB / 422.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1343, allocations: 3.984 kB / 422.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1343, allocations: 4 kB / 422.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1343, allocations: 4 kB / 422.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1345, allocations: 177.6 kB / 422.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1345, allocations: 0 / 422.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.1345, allocations: 4 kB / 422.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1345, allocations: 0 / 422.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1346, allocations: 4 kB / 422.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1346, allocations: 0 / 422.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1346, allocations: 0 / 422.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1347, allocations: 168.3 kB / 422.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.1348, allocations: 89.05 kB / 422.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1348, allocations: 0 / 422.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1349, allocations: 8 kB / 422.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1349, allocations: 0 / 422.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.1349, allocations: 3.984 kB / 422.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.135, allocations: 113.1 kB / 422.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.135, allocations: 0 / 422.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1352, allocations: 7.938 kB / 422.9 MB, free: 7.238 MB / 350.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.0006087/0.1359, allocations: 0.7014 MB / 423.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.136, allocations: 24.02 kB / 423.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.136, allocations: 0 / 423.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.1361, allocations: 15.86 kB / 423.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1364, allocations: 22.36 kB / 423.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1378, allocations: 1.308 MB / 424.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1382, allocations: 0.6922 MB / 425.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.1382, allocations: 3.984 kB / 425.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.1383, allocations: 15.44 kB / 425.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1383, allocations: 0 / 425.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.164, allocations: 1.636 MB / 427.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.134, allocations: 15.36 kB / 427.3 MB, free: 2.789 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=1.79319e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.707149434834719]