Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002036/0.002036, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 39.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2355, allocations: 53.38 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002784/0.2383, allocations: 1.565 MB / 432.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.2392, allocations: 0.4987 MB / 433.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.2393, allocations: 7.938 kB / 433.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.2394, allocations: 3.938 kB / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.2395, allocations: 19.84 kB / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2397, allocations: 47.83 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2399, allocations: 59.72 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.2399, allocations: 4.188 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.24, allocations: 35.91 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.2401, allocations: 19.86 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2401, allocations: 4 kB / 433.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.2401, allocations: 12 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.2402, allocations: 11.98 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.2402, allocations: 19.81 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.2403, allocations: 65.3 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2404, allocations: 0 / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2404, allocations: 0 / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2404, allocations: 4 kB / 433.4 MB, free: 4.238 MB / 334.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.000428/0.2408, allocations: 298 kB / 433.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2408, allocations: 12.03 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.2409, allocations: 42.73 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.241, allocations: 16.89 kB / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2412, allocations: 144.9 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2412, allocations: 384 / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2413, allocations: 4.375 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2415, allocations: 113 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2415, allocations: 0 / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2415, allocations: 0 / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2415, allocations: 4 kB / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.2416, allocations: 15.92 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.2419, allocations: 232.8 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.242, allocations: 45.14 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.242, allocations: 17.78 kB / 434.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.2421, allocations: 7.938 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2421, allocations: 38.55 kB / 434.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2421, allocations: 4 kB / 434.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.2423, allocations: 61.58 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2424, allocations: 85.09 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2425, allocations: 137.8 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2425, allocations: 29.64 kB / 434.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2426, allocations: 92.12 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.2426, allocations: 4.203 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.2426, allocations: 21.72 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2427, allocations: 314.8 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.2428, allocations: 11.98 kB / 435.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.2428, allocations: 17.72 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.2429, allocations: 29.7 kB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2429, allocations: 0 / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.243, allocations: 69.56 kB / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.243, allocations: 8 kB / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.243, allocations: 0 / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2431, allocations: 0 / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.2431, allocations: 4 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2431, allocations: 0 / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.2432, allocations: 11.98 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2432, allocations: 0 / 435.3 MB, free: 2.148 MB / 334.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 8.388e-05/0.2433, allocations: 117.8 kB / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.2433, allocations: 45.66 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.2433, allocations: 19.75 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2433, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2434, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2434, allocations: 4 kB / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2435, allocations: 136.7 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2435, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.2436, allocations: 4 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2436, allocations: 4 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.2436, allocations: 4 kB / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.2436, allocations: 0 / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2436, allocations: 4.031 kB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.2438, allocations: 168.2 kB / 435.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.2438, allocations: 19.94 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.2438, allocations: 0 / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.2439, allocations: 0 / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2439, allocations: 4 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2439, allocations: 0 / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.244, allocations: 110 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.244, allocations: 0 / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.2442, allocations: 12.03 kB / 435.9 MB, free: 1.434 MB / 334.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.0004493/0.2447, allocations: 0.6936 MB / 436.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2448, allocations: 19.98 kB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2448, allocations: 0 / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.2448, allocations: 8 kB / 436.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2451, allocations: 28.16 kB / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2464, allocations: 1.335 MB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.089e-05/0.2465, allocations: 71.33 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.2465, allocations: 4 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2465, allocations: 19.42 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2465, allocations: 4.031 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.2737, allocations: 2.101 MB / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.91, allocations: 11.98 kB / 440.2 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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: 13.24205320281908]