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.002061/0.002061, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002258/0.002258, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.447/1.447, 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.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.001545/0.001545, allocations: 47.92 kB / 377.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2375, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002936/0.2405, allocations: 1.581 MB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2416, allocations: 0.522 MB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.2416, allocations: 7.938 kB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.2417, allocations: 3.938 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.2418, allocations: 11.86 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2421, allocations: 55.83 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2422, allocations: 59.77 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.2423, allocations: 8.188 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2424, allocations: 27.92 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.2425, allocations: 23.8 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2425, allocations: 4 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.2425, allocations: 11.98 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.2426, allocations: 15.92 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.2426, allocations: 15.88 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.2428, allocations: 59.11 kB / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2428, allocations: 0 / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2428, allocations: 4 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.2428, allocations: 4 kB / 433.5 MB, free: 4.25 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.0004576/0.2432, allocations: 302.9 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2433, allocations: 16.02 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.2433, allocations: 30.75 kB / 433.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2435, allocations: 20.81 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.2437, allocations: 146.3 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2437, allocations: 384 / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2437, allocations: 12.38 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.244, allocations: 105 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.244, allocations: 0 / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.244, allocations: 0 / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.244, allocations: 7.938 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.2441, allocations: 15.98 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.2444, allocations: 240.8 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.2445, allocations: 41.2 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.2445, allocations: 25.77 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2446, allocations: 0 / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.2446, allocations: 34.5 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2446, allocations: 4 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.2448, allocations: 69.55 kB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.2449, allocations: 85.36 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.245, allocations: 140.6 kB / 434.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.245, allocations: 25.7 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.2451, allocations: 92.12 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.2451, allocations: 3.953 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.2451, allocations: 17.72 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2453, allocations: 318.8 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.2453, allocations: 12 kB / 435.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.2454, allocations: 17.7 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.2454, allocations: 33.72 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2454, allocations: 0 / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.2455, allocations: 57.62 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2456, allocations: 8 kB / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2456, allocations: 0 / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2456, allocations: 0 / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.2456, allocations: 4 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2457, allocations: 7.922 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.436e-05/0.2457, allocations: 8.062 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2457, allocations: 0 / 435.3 MB, free: 2.152 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.605e-05/0.2458, allocations: 117.8 kB / 435.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.2458, allocations: 41.64 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.2459, allocations: 15.77 kB / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2459, allocations: 0 / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2459, allocations: 0 / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2459, allocations: 4 kB / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.246, allocations: 140.7 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.246, allocations: 3.938 kB / 435.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.2461, allocations: 11.97 kB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2461, allocations: 4 kB / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2461, allocations: 0 / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2461, allocations: 0 / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2461, allocations: 3.938 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2463, allocations: 164.3 kB / 435.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.2463, allocations: 15.94 kB / 435.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2463, allocations: 0 / 435.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.2464, allocations: 0 / 435.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.2464, allocations: 8.031 kB / 435.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2464, allocations: 0 / 435.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.2465, allocations: 111.2 kB / 436 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2465, allocations: 0 / 436 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2467, allocations: 8 kB / 436 MB, free: 1.438 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.0004578/0.2472, allocations: 0.6936 MB / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2473, allocations: 24.08 kB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2473, allocations: 0 / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.2473, allocations: 11.92 kB / 436.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2477, allocations: 23.97 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.001299/0.249, allocations: 1.324 MB / 438.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.65e-05/0.249, allocations: 75.58 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.966e-05/0.2491, allocations: 7.938 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.2491, allocations: 15.42 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2491, allocations: 0 / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.2756, allocations: 2.134 MB / 440.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.1, allocations: 10.56 kB / 440.3 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.621902320010122]