Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008886/0.0008886, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.904/0.904, allocations: 177 MB / 204.1 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.622e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002264/0.00229, allocations: 1.568 MB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006962/0.002986, allocations: 0.5337 MB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.003058, allocations: 3.938 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.0031, allocations: 7.922 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.003227, allocations: 11.88 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.003504, allocations: 63.73 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.991e-05/0.003604, allocations: 43.8 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.003704, allocations: 20.11 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.003824, allocations: 39.83 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.003871, allocations: 11.98 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.003888, allocations: 4 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.003926, allocations: 8 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.00397, allocations: 15.92 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.003993, allocations: 15.92 kB / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.004128, allocations: 55.8 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.004133, allocations: 4 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.004134, allocations: 0 / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.00414, allocations: 0 / 326.9 MB, free: 13.46 MB / 298.7 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.0003989/0.004539, allocations: 301.9 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.004578, allocations: 19.98 kB / 327.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.004608, allocations: 34.75 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.004713, allocations: 16.88 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.004912, allocations: 149.5 kB / 327.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.00492, allocations: 384 / 327.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.004931, allocations: 4.375 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.005153, allocations: 113.5 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00516, allocations: 192 / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.00517, allocations: 3.938 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.005176, allocations: 4 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.005216, allocations: 11.98 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.005476, allocations: 228.8 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.005535, allocations: 49.14 kB / 327.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.005565, allocations: 17.78 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.005584, allocations: 4 kB / 327.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.005604, allocations: 34.5 kB / 327.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005605, allocations: 0 / 327.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.005771, allocations: 73.56 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.005812, allocations: 77.11 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.005901, allocations: 148.9 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.00591, allocations: 25.7 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.00595, allocations: 92.14 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.005964, allocations: 8.203 kB / 328.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.005988, allocations: 17.7 kB / 328.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.006061, allocations: 318.8 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.006083, allocations: 11.98 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.006098, allocations: 4 kB / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.006136, allocations: 24.84 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.006138, allocations: 0 / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.246e-05/0.0062, allocations: 57.58 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.006213, allocations: 4 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006217, allocations: 0 / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006229, allocations: 4 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.006278, allocations: 3.984 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.006283, allocations: 0 / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.006298, allocations: 4 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.006304, allocations: 3.984 kB / 328.7 MB, free: 11.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.916e-05/0.006363, allocations: 113.8 kB / 328.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.006398, allocations: 49.58 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.006421, allocations: 15.83 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006423, allocations: 0 / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.006427, allocations: 0 / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.00643, allocations: 3.984 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.006538, allocations: 148.6 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006539, allocations: 0 / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.00656, allocations: 4 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006561, allocations: 0 / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.006569, allocations: 7.984 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00657, allocations: 3.938 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.00657, allocations: 0 / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.721e-05/0.006668, allocations: 160.3 kB / 329.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.006696, allocations: 15.94 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006706, allocations: 4 kB / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.006737, allocations: 0 / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.006763, allocations: 4 kB / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006766, allocations: 3.984 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.006813, allocations: 115.2 kB / 329.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006813, allocations: 0 / 329.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.006957, allocations: 4 kB / 329.4 MB, free: 10.69 MB / 298.7 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.0002596/0.007217, allocations: 0.6898 MB / 330.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.007303, allocations: 27.86 kB / 330.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007304, allocations: 0 / 330.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.007324, allocations: 11.98 kB / 330.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.007584, allocations: 20.02 kB / 330.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.008395, allocations: 1.301 MB / 331.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.008447, allocations: 79.08 kB / 331.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.008473, allocations: 0 / 331.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.008514, allocations: 24.48 kB / 331.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008514, allocations: 0 / 331.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.02309, allocations: 2.226 MB / 333.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/6.625, allocations: 3.938 kB / 333.8 MB, free: 6.27 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.419473447836936]