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.001505/0.001505, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 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.001542/0.001542, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001964/0.001964, allocations: 63.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3159, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003505/0.3194, allocations: 1.584 MB / 432.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3206, allocations: 0.5764 MB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.3207, allocations: 3.938 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.3208, allocations: 7.922 kB / 433.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.3209, allocations: 15.92 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3212, allocations: 63.75 kB / 433.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3214, allocations: 43.8 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3215, allocations: 12.17 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3216, allocations: 31.84 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.3217, allocations: 19.92 kB / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3217, allocations: 0 / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.3217, allocations: 12 kB / 433.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3218, allocations: 11.94 kB / 433.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3218, allocations: 31.78 kB / 433.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.322, allocations: 72.02 kB / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.322, allocations: 0 / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.322, allocations: 0 / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.322, allocations: 4 kB / 433.7 MB, free: 4.203 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.0005545/0.3226, allocations: 298 kB / 433.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3226, allocations: 12.03 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.3226, allocations: 34.75 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.3228, allocations: 16.88 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3231, allocations: 150.3 kB / 434.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3231, allocations: 384 / 434.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3231, allocations: 4.375 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.3234, allocations: 109 kB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3234, allocations: 4 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3234, allocations: 3.938 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3234, allocations: 0 / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.3235, allocations: 19.98 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3239, allocations: 228.8 kB / 434.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.324, allocations: 53.14 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.324, allocations: 25.77 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3241, allocations: 0 / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3241, allocations: 34.56 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.3241, allocations: 0 / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002767/0.3244, allocations: 69.66 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.3244, allocations: 81.05 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3246, allocations: 144.6 kB / 434.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3246, allocations: 25.7 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.3247, allocations: 92.12 kB / 435 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3247, allocations: 3.953 kB / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3248, allocations: 17.72 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3249, allocations: 322.9 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.325, allocations: 8 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.325, allocations: 21.7 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.3251, allocations: 21.72 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3251, allocations: 12.05 kB / 435.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000121/0.3252, allocations: 61.52 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3252, allocations: 6.656 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3252, allocations: 0 / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3253, allocations: 0 / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.3253, allocations: 11.94 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3253, allocations: 3.984 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.3254, allocations: 0 / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.3254, allocations: 4 kB / 435.5 MB, free: 2.109 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.0001089/0.3255, allocations: 121.8 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.3256, allocations: 45.58 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.3256, allocations: 15.75 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3256, allocations: 4 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3256, allocations: 0 / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3256, allocations: 0 / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3258, allocations: 140.7 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3258, allocations: 4 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.3259, allocations: 7.984 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3259, allocations: 4.031 kB / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3259, allocations: 0 / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3259, allocations: 0 / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3259, allocations: 4 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3261, allocations: 160.2 kB / 436 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.3261, allocations: 19.97 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3261, allocations: 0 / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.3262, allocations: 3.984 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3262, allocations: 4 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3262, allocations: 0 / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.954e-05/0.3263, allocations: 114 kB / 436.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3263, allocations: 0 / 436.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.3266, allocations: 8 kB / 436.2 MB, free: 1.391 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.0005141/0.3271, allocations: 0.6936 MB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.3272, allocations: 19.98 kB / 436.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3272, allocations: 0 / 436.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.3272, allocations: 12.16 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3276, allocations: 23.95 kB / 436.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3291, allocations: 1.335 MB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3295, allocations: 0.6924 MB / 438.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.067e-05/0.3295, allocations: 0 / 438.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.3296, allocations: 19.38 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3296, allocations: 0 / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3597, allocations: 1.655 MB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.24, allocations: 24.06 kB / 440.6 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.909906986998976]