Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001328/0.001328, allocations: 124.8 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.001252/0.001252, allocations: 186.9 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.437/1.437, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002875/0.1287, allocations: 1.549 MB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.1296, allocations: 0.5103 MB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.1297, allocations: 0 / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.954e-05/0.1298, allocations: 11.86 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.1299, allocations: 7.938 kB / 419.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1302, allocations: 55.81 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1303, allocations: 47.84 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1304, allocations: 8 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.1305, allocations: 23.86 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.1306, allocations: 23.91 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1306, allocations: 7.938 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.1306, allocations: 4 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.1307, allocations: 15.92 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.1307, allocations: 23.81 kB / 420.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1309, allocations: 59.67 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1309, allocations: 0 / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1309, allocations: 0 / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1309, allocations: 0 / 420.1 MB, free: 10.27 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.000555/0.1314, allocations: 379.1 kB / 420.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1315, allocations: 12.03 kB / 420.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.1315, allocations: 30.75 kB / 420.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1315, allocations: 8.891 kB / 420.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1319, allocations: 200.1 kB / 420.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1319, allocations: 384 / 420.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1319, allocations: 8.359 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1322, allocations: 109.2 kB / 420.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1322, allocations: 3.938 kB / 420.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1323, allocations: 0 / 420.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1323, allocations: 0 / 420.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.1323, allocations: 23.92 kB / 420.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1327, allocations: 273.6 kB / 421.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.1328, allocations: 45.2 kB / 421.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1329, allocations: 17.78 kB / 421.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1329, allocations: 3.984 kB / 421.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.1329, allocations: 42.48 kB / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1329, allocations: 4 kB / 421.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002601/0.1332, allocations: 57.62 kB / 421.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1333, allocations: 81.11 kB / 421.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1334, allocations: 148.3 kB / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1335, allocations: 25.95 kB / 421.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.1335, allocations: 88.14 kB / 421.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.1335, allocations: 3.938 kB / 421.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1336, allocations: 25.66 kB / 421.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1338, allocations: 318.8 kB / 422 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.1338, allocations: 7.984 kB / 422 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.1338, allocations: 17.72 kB / 422 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/0.1339, allocations: 37.7 kB / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1339, allocations: 0 / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.134, allocations: 49.69 kB / 422.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1341, allocations: 11.98 kB / 422.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1341, allocations: 0 / 422.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1341, allocations: 0 / 422.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.1342, allocations: 8.062 kB / 422.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1342, allocations: 3.938 kB / 422.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.1342, allocations: 4 kB / 422.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1342, allocations: 0 / 422.1 MB, free: 7.98 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.0001005/0.1343, allocations: 121.8 kB / 422.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.1344, allocations: 37.66 kB / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.1344, allocations: 15.86 kB / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1344, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1344, allocations: 4.031 kB / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1344, allocations: 0 / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1346, allocations: 169.6 kB / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1346, allocations: 4 kB / 422.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.1347, allocations: 4 kB / 422.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1347, allocations: 3.938 kB / 422.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1347, allocations: 4 kB / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1347, allocations: 4 kB / 422.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1347, allocations: 7.875 kB / 422.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1348, allocations: 164.3 kB / 422.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.1349, allocations: 93.05 kB / 422.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1349, allocations: 0 / 422.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.135, allocations: 0 / 422.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.135, allocations: 7.984 kB / 422.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1351, allocations: 0 / 422.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.1351, allocations: 105.5 kB / 422.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1351, allocations: 4.031 kB / 422.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1353, allocations: 4 kB / 422.9 MB, free: 7.137 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.0005139/0.1359, allocations: 0.6975 MB / 423.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.136, allocations: 28.02 kB / 423.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.136, allocations: 0 / 423.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.136, allocations: 11.92 kB / 423.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1364, allocations: 16.02 kB / 423.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1378, allocations: 1.308 MB / 424.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1382, allocations: 0.6961 MB / 425.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.883e-05/0.1382, allocations: 0 / 425.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1383, allocations: 19.42 kB / 425.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1383, allocations: 0 / 425.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05927/0.1975, allocations: 1.547 MB / 427.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.249, allocations: 14.95 kB / 427.2 MB, free: 2.773 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.716045834124088]