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.001484/0.001484, allocations: 124.5 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.001489/0.001489, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.614/1.614, 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.001789/0.001789, allocations: 44.08 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1349, allocations: 53.34 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003554/0.1385, allocations: 1.564 MB / 427.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1397, allocations: 0.5648 MB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1398, allocations: 4 kB / 428.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.1399, allocations: 11.86 kB / 428.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.14, allocations: 11.94 kB / 428.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1405, allocations: 59.75 kB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1406, allocations: 55.78 kB / 428.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1407, allocations: 12.17 kB / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1408, allocations: 27.92 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.1409, allocations: 27.84 kB / 428.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1409, allocations: 4 kB / 428.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.1409, allocations: 4 kB / 428.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.141, allocations: 15.88 kB / 428.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.1411, allocations: 27.8 kB / 428.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1413, allocations: 63.67 kB / 428.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1413, allocations: 0 / 428.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1413, allocations: 0 / 428.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1413, allocations: 0 / 428.8 MB, free: 2.336 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.0005867/0.1419, allocations: 387.1 kB / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1419, allocations: 8.031 kB / 429.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.73e-05/0.142, allocations: 30.75 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.1422, allocations: 20.88 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.1425, allocations: 208.7 kB / 429.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1426, allocations: 16.05 kB / 429.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1426, allocations: 4 kB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.1429, allocations: 101 kB / 429.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1429, allocations: 3.984 kB / 429.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1429, allocations: 4 kB / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1429, allocations: 0 / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.143, allocations: 15.98 kB / 429.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1433, allocations: 265.7 kB / 429.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1434, allocations: 45.2 kB / 429.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.1435, allocations: 17.77 kB / 429.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1435, allocations: 8 kB / 429.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.1436, allocations: 34.5 kB / 429.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1436, allocations: 0 / 429.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002733/0.1438, allocations: 69.62 kB / 430 MB, free: 0.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.1439, allocations: 81.05 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1441, allocations: 148.3 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1441, allocations: 25.7 kB / 430.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1442, allocations: 92.12 kB / 430.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1442, allocations: 11.89 kB / 430.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1443, allocations: 9.719 kB / 430.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1444, allocations: 322.8 kB / 430.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.1445, allocations: 4 kB / 430.6 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.1445, allocations: 33.7 kB / 430.7 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.1446, allocations: 29.64 kB / 430.7 MB, free: 116 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1446, allocations: 0 / 430.7 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000129/0.1447, allocations: 57.64 kB / 430.8 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.1447, allocations: 4 kB / 430.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1447, allocations: 128 / 430.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1448, allocations: 4 kB / 430.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.1448, allocations: 7.984 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1449, allocations: 15.81 kB / 430.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.1449, allocations: 0 / 430.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1449, allocations: 0 / 430.8 MB, free: 20 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.0001156/0.145, allocations: 117.8 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.1451, allocations: 37.64 kB / 430.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1452, allocations: 11.88 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1452, allocations: 4.031 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.1452, allocations: 7.938 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1452, allocations: 0 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1454, allocations: 161.7 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1454, allocations: 0 / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.1455, allocations: 15.98 kB / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1455, allocations: 0 / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1455, allocations: 0 / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1455, allocations: 3.984 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1455, allocations: 3.938 kB / 431.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1457, allocations: 164.3 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.1457, allocations: 93.05 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1458, allocations: 0 / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.1458, allocations: 4 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1459, allocations: 3.938 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1459, allocations: 4 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.146, allocations: 114.5 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.146, allocations: 0 / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1462, allocations: 8 kB / 431.5 MB, free: 15.17 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.0005328/0.1468, allocations: 0.6976 MB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1469, allocations: 19.98 kB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1469, allocations: 0 / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.147, allocations: 19.86 kB / 432.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1474, allocations: 22.31 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1489, allocations: 1.33 MB / 433.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1493, allocations: 0.6885 MB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.1493, allocations: 3.984 kB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.1494, allocations: 19.41 kB / 434.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1494, allocations: 4 kB / 434.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.1765, allocations: 1.647 MB / 436 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.013, allocations: 2.969 kB / 436 MB, free: 10.7 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: 10.829666692996398]