Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001865/0.001865, allocations: 124.4 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.00228/0.00228, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 53.33 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003175/0.1265, allocations: 1.57 MB / 427.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1277, allocations: 0.5727 MB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.1278, allocations: 0 / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.816e-05/0.1278, allocations: 7.938 kB / 428.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.128, allocations: 15.84 kB / 428.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1284, allocations: 59.77 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1285, allocations: 47.84 kB / 428.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1286, allocations: 16.17 kB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1288, allocations: 27.86 kB / 428.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.1289, allocations: 19.86 kB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.1289, allocations: 4 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.129, allocations: 8 kB / 428.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.129, allocations: 15.92 kB / 428.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.1291, allocations: 31.78 kB / 428.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1293, allocations: 55.75 kB / 428.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1293, allocations: 3.938 kB / 428.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1293, allocations: 3.938 kB / 428.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1293, allocations: 0 / 428.8 MB, free: 2.359 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.0006878/0.13, allocations: 391 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1301, allocations: 8.031 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.1301, allocations: 34.75 kB / 429.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.1303, allocations: 20.88 kB / 429.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1307, allocations: 192.2 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1307, allocations: 8.375 kB / 429.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1307, allocations: 4.375 kB / 429.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1311, allocations: 105 kB / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1311, allocations: 0 / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1311, allocations: 4 kB / 429.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.1311, allocations: 0 / 429.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.1312, allocations: 23.92 kB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.1316, allocations: 265.7 kB / 429.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1317, allocations: 49.14 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.1318, allocations: 17.78 kB / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1318, allocations: 0 / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1318, allocations: 38.56 kB / 429.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1318, allocations: 0 / 429.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002842/0.1321, allocations: 69.5 kB / 430 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.1322, allocations: 81.36 kB / 430 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1324, allocations: 143.5 kB / 430.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1324, allocations: 25.7 kB / 430.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.1325, allocations: 92.14 kB / 430.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1325, allocations: 3.953 kB / 430.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.1326, allocations: 17.7 kB / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1328, allocations: 318.8 kB / 430.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.1328, allocations: 11.98 kB / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.1329, allocations: 29.66 kB / 430.7 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.641e-05/0.1329, allocations: 29.7 kB / 430.7 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.133, allocations: 0 / 430.7 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.1331, allocations: 53.58 kB / 430.7 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1331, allocations: 4.125 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1331, allocations: 11.98 kB / 430.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1331, allocations: 0 / 430.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.1332, allocations: 4 kB / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1332, allocations: 0 / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.1332, allocations: 8 kB / 430.8 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1333, allocations: 0 / 430.8 MB, free: 64 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.0001385/0.1334, allocations: 117.8 kB / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.1335, allocations: 53.52 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.1335, allocations: 15.89 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1335, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1335, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1335, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.1338, allocations: 173.6 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1338, allocations: 0 / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.1338, allocations: 4 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1338, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1338, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1338, allocations: 4 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1338, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.134, allocations: 164.3 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.1341, allocations: 101 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1341, allocations: 0 / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1342, allocations: 3.938 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1343, allocations: 7.984 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1343, allocations: 4.031 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1344, allocations: 105.2 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1344, allocations: 0 / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1346, allocations: 8 kB / 431.5 MB, free: 15.21 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.0005959/0.1352, allocations: 0.6903 MB / 432.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1354, allocations: 27.92 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1354, allocations: 0 / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.1354, allocations: 7.984 kB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1358, allocations: 24.94 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1373, allocations: 1.324 MB / 433.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.1377, allocations: 0.6885 MB / 434.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.1378, allocations: 12.11 kB / 434.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.1378, allocations: 19.47 kB / 434.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1378, allocations: 0 / 434.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.165, allocations: 1.56 MB / 435.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/7.962, allocations: 9.656 kB / 435.9 MB, free: 10.82 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.67923173494637]