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.001845/0.001845, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002592/0.002592, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001983/0.001983, allocations: 51.92 kB / 377.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 53.36 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00303/0.3201, allocations: 1.586 MB / 432.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3212, allocations: 0.5453 MB / 433.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.3213, allocations: 4 kB / 433.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.3213, allocations: 7.875 kB / 433.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3215, allocations: 11.92 kB / 433.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.3218, allocations: 55.81 kB / 433.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3219, allocations: 47.8 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3221, allocations: 12.17 kB / 433.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3222, allocations: 35.84 kB / 433.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.3223, allocations: 23.86 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3223, allocations: 0 / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.3223, allocations: 16 kB / 433.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.3224, allocations: 15.92 kB / 433.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3224, allocations: 19.81 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3226, allocations: 64.09 kB / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3226, allocations: 0 / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3226, allocations: 0 / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3226, allocations: 0 / 433.6 MB, free: 4.438 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.0005574/0.3232, allocations: 305.9 kB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3232, allocations: 12.03 kB / 433.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.3233, allocations: 34.75 kB / 433.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3234, allocations: 20.88 kB / 433.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3237, allocations: 149.4 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3238, allocations: 384 / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3238, allocations: 8.312 kB / 434.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.3241, allocations: 113 kB / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3241, allocations: 0 / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3241, allocations: 0 / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3241, allocations: 0 / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.3242, allocations: 15.98 kB / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.3246, allocations: 240.8 kB / 434.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3247, allocations: 37.22 kB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.3247, allocations: 21.77 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3247, allocations: 7.938 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3248, allocations: 30.56 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3248, allocations: 4 kB / 434.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002762/0.3251, allocations: 69.56 kB / 434.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.3251, allocations: 77.11 kB / 434.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.3253, allocations: 145.8 kB / 434.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3253, allocations: 29.64 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.3254, allocations: 88.39 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.3254, allocations: 7.953 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.3255, allocations: 17.72 kB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3256, allocations: 318.8 kB / 435.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.3257, allocations: 4 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.3257, allocations: 25.7 kB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.3258, allocations: 33.7 kB / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3258, allocations: 4 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001223/0.3259, allocations: 61.62 kB / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.326, allocations: 4 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.326, allocations: 3.938 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.326, allocations: 0 / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.326, allocations: 7.984 kB / 435.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3261, allocations: 4 kB / 435.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.3261, allocations: 4.062 kB / 435.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3261, allocations: 0 / 435.4 MB, free: 2.336 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.0001124/0.3262, allocations: 125.8 kB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.3263, allocations: 33.66 kB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.3263, allocations: 15.77 kB / 435.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3263, allocations: 0 / 435.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3263, allocations: 7.938 kB / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3263, allocations: 0 / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3265, allocations: 148.7 kB / 435.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3265, allocations: 0 / 435.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.3266, allocations: 15.92 kB / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3266, allocations: 0 / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3266, allocations: 0 / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3266, allocations: 0 / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3266, allocations: 0 / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3268, allocations: 164.3 kB / 435.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.3268, allocations: 11.95 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3268, allocations: 7.984 kB / 435.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.3269, allocations: 0 / 435.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.3269, allocations: 4 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3269, allocations: 0 / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.327, allocations: 109.7 kB / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.327, allocations: 0 / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3272, allocations: 8 kB / 436.1 MB, free: 1.621 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.0005185/0.3277, allocations: 0.6976 MB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.3279, allocations: 27.89 kB / 436.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3279, allocations: 0 / 436.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.3279, allocations: 12 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3283, allocations: 19.95 kB / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.3298, allocations: 1.336 MB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.3302, allocations: 0.6885 MB / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.3303, allocations: 128 / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.3303, allocations: 19.42 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3303, allocations: 0 / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.3601, allocations: 1.672 MB / 440.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.34, allocations: 4.062 kB / 440.5 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 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.csv","/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: 14.024613154997496]