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.001457/0.001457, allocations: 116.7 kB / 17.74 MB, free: 5.312 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.001532/0.001531, allocations: 186.9 kB / 20.68 MB, free: 2.383 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.458/1.458, allocations: 222.9 MB / 246.4 MB, free: 4.199 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.001509/0.001509, allocations: 47.92 kB / 357.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 49.45 MB / 406.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00328/0.12, allocations: 1.551 MB / 408.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.121, allocations: 498.7 kB / 409 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.1211, allocations: 3.938 kB / 409 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.1212, allocations: 3.938 kB / 409 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1213, allocations: 15.91 kB / 409 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1216, allocations: 55.7 kB / 409 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1218, allocations: 47.8 kB / 409.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1219, allocations: 20.17 kB / 409.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.122, allocations: 27.84 kB / 409.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1221, allocations: 23.86 kB / 409.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1221, allocations: 4 kB / 409.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.1221, allocations: 0 / 409.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.1222, allocations: 15.94 kB / 409.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.1222, allocations: 27.8 kB / 409.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1224, allocations: 55.97 kB / 409.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1224, allocations: 4 kB / 409.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1224, allocations: 0 / 409.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1224, allocations: 0 / 409.3 MB, free: 5.008 MB / 334.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.0005672/0.123, allocations: 379 kB / 409.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.123, allocations: 12.03 kB / 409.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.1231, allocations: 34.75 kB / 409.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1231, allocations: 8.891 kB / 409.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1234, allocations: 208.1 kB / 409.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1235, allocations: 4.375 kB / 409.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1235, allocations: 4.375 kB / 409.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1238, allocations: 108.9 kB / 410 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1238, allocations: 0 / 410 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1238, allocations: 4 kB / 410 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1238, allocations: 8 kB / 410 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.1239, allocations: 15.92 kB / 410 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1243, allocations: 261.8 kB / 410.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.943e-05/0.1244, allocations: 49.14 kB / 410.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.1245, allocations: 17.78 kB / 410.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1245, allocations: 4 kB / 410.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1245, allocations: 34.56 kB / 410.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1245, allocations: 0 / 410.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002573/0.1248, allocations: 69.56 kB / 410.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1249, allocations: 85.3 kB / 410.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.125, allocations: 144.9 kB / 410.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.125, allocations: 25.7 kB / 410.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.1251, allocations: 88.14 kB / 410.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.1251, allocations: 0 / 410.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1252, allocations: 25.66 kB / 410.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1253, allocations: 314.8 kB / 411.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.1254, allocations: 19.98 kB / 411.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.1254, allocations: 13.72 kB / 411.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.1255, allocations: 33.64 kB / 411.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1255, allocations: 0 / 411.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001208/0.1257, allocations: 57.72 kB / 411.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1257, allocations: 4 kB / 411.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1257, allocations: 7.984 kB / 411.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1257, allocations: 0 / 411.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1258, allocations: 4 kB / 411.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1258, allocations: 0 / 411.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.1258, allocations: 4 kB / 411.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1259, allocations: 0 / 411.3 MB, free: 2.727 MB / 334.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.0001036/0.126, allocations: 121.8 kB / 411.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.126, allocations: 41.69 kB / 411.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.1261, allocations: 19.8 kB / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1261, allocations: 0 / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1261, allocations: 0 / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.1261, allocations: 0 / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1263, allocations: 185.5 kB / 411.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1263, allocations: 0 / 411.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.1264, allocations: 7.984 kB / 411.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1264, allocations: 0 / 411.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1264, allocations: 0 / 411.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1264, allocations: 8.031 kB / 411.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1264, allocations: 0 / 411.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1266, allocations: 156.3 kB / 411.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.1267, allocations: 93.05 kB / 411.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1267, allocations: 0 / 411.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1268, allocations: 0 / 411.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1268, allocations: 12.02 kB / 411.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1268, allocations: 0 / 411.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.1269, allocations: 113.6 kB / 412 MB, free: 1.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1269, allocations: 0 / 412 MB, free: 1.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1271, allocations: 12 kB / 412 MB, free: 1.867 MB / 334.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.0005044/0.1277, allocations: 0.7014 MB / 412.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1278, allocations: 19.92 kB / 412.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1278, allocations: 0 / 412.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.1279, allocations: 11.98 kB / 412.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1282, allocations: 20.33 kB / 412.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1297, allocations: 1.32 MB / 414.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.13, allocations: 0.6883 MB / 414.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.1301, allocations: 8.016 kB / 414.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.1301, allocations: 15.44 kB / 414.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1301, allocations: 0 / 414.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1545, allocations: 1.609 MB / 416.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.463, allocations: 12.39 kB / 416.4 MB, free: 13.44 MB / 350.1 MB " [Timeout remaining time 651] (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.875769460806623]