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.001941/0.001941, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00226/0.00226, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.00161/0.00161, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3061, allocations: 53.36 MB / 431.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003052/0.3092, allocations: 1.577 MB / 432.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3103, allocations: 0.5803 MB / 433.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.3104, allocations: 3.938 kB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.3105, allocations: 3.938 kB / 433.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.3106, allocations: 15.86 kB / 433.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3109, allocations: 67.8 kB / 433.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3111, allocations: 47.8 kB / 433.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3112, allocations: 12.17 kB / 433.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3113, allocations: 31.91 kB / 433.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.3114, allocations: 15.88 kB / 433.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3114, allocations: 7.938 kB / 433.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.3114, allocations: 7.984 kB / 433.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.3115, allocations: 11.94 kB / 433.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.3115, allocations: 31.8 kB / 433.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3117, allocations: 55.41 kB / 433.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3117, allocations: 4 kB / 433.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3117, allocations: 0 / 433.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3117, allocations: 0 / 433.6 MB, free: 4.512 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.0005057/0.3122, allocations: 310.9 kB / 433.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3123, allocations: 8.031 kB / 433.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.3123, allocations: 30.75 kB / 433.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3124, allocations: 20.88 kB / 434 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3127, allocations: 153.4 kB / 434.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.3127, allocations: 8.312 kB / 434.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3128, allocations: 4.375 kB / 434.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.313, allocations: 109 kB / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.313, allocations: 0 / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.313, allocations: 8 kB / 434.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.313, allocations: 0 / 434.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.3131, allocations: 15.98 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.3135, allocations: 232.8 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3136, allocations: 45.2 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.3136, allocations: 17.78 kB / 434.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3137, allocations: 4 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3137, allocations: 38.48 kB / 434.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3137, allocations: 0 / 434.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002587/0.3139, allocations: 73.8 kB / 434.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.314, allocations: 81.09 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3141, allocations: 133.8 kB / 434.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3142, allocations: 29.7 kB / 434.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.3142, allocations: 88.12 kB / 435 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.3142, allocations: 11.89 kB / 435 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3143, allocations: 13.72 kB / 435 MB, free: 2.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3144, allocations: 326.8 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.3145, allocations: 7.984 kB / 435.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.3145, allocations: 13.72 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.3146, allocations: 33.64 kB / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3146, allocations: 4 kB / 435.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.3147, allocations: 61.69 kB / 435.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3147, allocations: 8 kB / 435.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3148, allocations: 0 / 435.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3148, allocations: 0 / 435.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.3148, allocations: 4 kB / 435.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3148, allocations: 3.938 kB / 435.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.3149, allocations: 7.984 kB / 435.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.3149, allocations: 0 / 435.5 MB, free: 2.41 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 0.0001041/0.315, allocations: 121.8 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.3151, allocations: 37.66 kB / 435.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3151, allocations: 19.75 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3151, allocations: 3.938 kB / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3151, allocations: 0 / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3151, allocations: 0 / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3153, allocations: 144.7 kB / 435.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3153, allocations: 0 / 435.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.3153, allocations: 4 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.3153, allocations: 7.969 kB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3153, allocations: 8.031 kB / 435.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3153, allocations: 0 / 435.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.3153, allocations: 3.938 kB / 435.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3155, allocations: 160.3 kB / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.3156, allocations: 11.94 kB / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3156, allocations: 8.031 kB / 436 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.3157, allocations: 4 kB / 436 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.3157, allocations: 3.984 kB / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3157, allocations: 0 / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.3158, allocations: 109.7 kB / 436.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3158, allocations: 0 / 436.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.316, allocations: 4 kB / 436.1 MB, free: 1.695 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.0005052/0.3165, allocations: 0.6976 MB / 436.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3167, allocations: 19.98 kB / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3167, allocations: 0 / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.3167, allocations: 16.02 kB / 436.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.317, allocations: 20.08 kB / 436.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3185, allocations: 1.332 MB / 438.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3189, allocations: 0.6885 MB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.3189, allocations: 7.984 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.3189, allocations: 15.38 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3189, allocations: 0 / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3504, allocations: 1.665 MB / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.37, allocations: 11.88 kB / 440.6 MB, free: 13.21 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: 14.120563245000085]