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.001809/0.001809, allocations: 123.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.002239/0.002239, allocations: 200.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.565/1.565, 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.001574/0.001574, allocations: 47.92 kB / 373 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 53.33 MB / 426.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003621/0.1295, allocations: 1.579 MB / 427.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1307, allocations: 0.5648 MB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.1308, allocations: 7.938 kB / 428.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.1308, allocations: 7.922 kB / 428.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.131, allocations: 11.94 kB / 428.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1314, allocations: 63.73 kB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1315, allocations: 51.78 kB / 428.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1316, allocations: 8.188 kB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1318, allocations: 27.92 kB / 428.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.1319, allocations: 23.84 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1319, allocations: 4 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.132, allocations: 4 kB / 428.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.132, allocations: 15.92 kB / 428.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.1321, allocations: 31.81 kB / 428.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1323, allocations: 59.67 kB / 428.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1323, allocations: 3.938 kB / 428.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1323, allocations: 0 / 428.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1323, 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.0007031/0.133, allocations: 379.1 kB / 429.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.133, allocations: 8.031 kB / 429.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.1331, allocations: 38.73 kB / 429.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1333, allocations: 16.89 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1337, allocations: 208.2 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1337, allocations: 4.375 kB / 429.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1337, allocations: 384 / 429.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.134, allocations: 113 kB / 429.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.134, allocations: 7.938 kB / 429.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.134, allocations: 0 / 429.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.134, allocations: 0 / 429.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.1341, allocations: 15.98 kB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.1345, allocations: 257.8 kB / 429.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1346, allocations: 49.16 kB / 429.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.1346, allocations: 25.7 kB / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1347, allocations: 4 kB / 429.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1347, allocations: 30.56 kB / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1347, allocations: 3.938 kB / 429.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002537/0.135, allocations: 73.56 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.135, allocations: 81.05 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1352, allocations: 139.4 kB / 430.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1352, allocations: 29.7 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.1352, allocations: 88.12 kB / 430.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.1353, allocations: 3.953 kB / 430.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.1353, allocations: 21.97 kB / 430.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1355, allocations: 318.8 kB / 430.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.1355, allocations: 12 kB / 430.6 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.1355, allocations: 17.7 kB / 430.7 MB, free: 196 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.46e-05/0.1356, allocations: 33.77 kB / 430.7 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1356, allocations: 0 / 430.7 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001307/0.1358, allocations: 57.58 kB / 430.7 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1358, allocations: 4 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1358, allocations: 4 kB / 430.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1358, allocations: 3.984 kB / 430.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.1359, allocations: 7.984 kB / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1359, allocations: 0 / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.1359, allocations: 4 kB / 430.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1359, allocations: 8.062 kB / 430.8 MB, free: 60 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.0001151/0.136, allocations: 121.7 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.1361, allocations: 41.64 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.1361, allocations: 11.88 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1361, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1361, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1361, allocations: 0 / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1364, allocations: 173.6 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1364, allocations: 0 / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.1364, allocations: 12.02 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1364, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1364, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1364, allocations: 4 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1364, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.1366, allocations: 164.2 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.1367, allocations: 97.08 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1367, allocations: 3.938 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1368, allocations: 0 / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1368, allocations: 4 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1368, allocations: 3.938 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.242e-05/0.1369, allocations: 108.3 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1369, allocations: 4 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1371, 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.0005574/0.1377, allocations: 0.6976 MB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1378, allocations: 19.98 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1378, allocations: 4.156 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.1379, 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.0003478/0.1382, allocations: 18.16 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.001448/0.1397, allocations: 1.33 MB / 433.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.14, allocations: 0.6924 MB / 434.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1401, allocations: 0 / 434.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.1401, allocations: 19.42 kB / 434.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1401, allocations: 0 / 434.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1652, allocations: 1.565 MB / 435.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.692, allocations: 3.25 kB / 435.9 MB, free: 10.82 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 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.csv","/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: 11.70786078000674]