Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.001772/0.001772, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002054/0.002054, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00242/0.3231, allocations: 0.8533 MB / 432 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003784/0.3235, allocations: 119.6 kB / 432.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.3236, allocations: 7.938 kB / 432.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.3236, allocations: 3.938 kB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3238, allocations: 11.92 kB / 432.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.324, allocations: 35.89 kB / 432.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3241, allocations: 39.86 kB / 432.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3243, allocations: 19.98 kB / 432.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.3243, allocations: 23.88 kB / 432.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.3244, allocations: 23.84 kB / 432.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3244, allocations: 4 kB / 432.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3244, allocations: 4 kB / 432.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.3245, allocations: 15.92 kB / 432.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.3245, allocations: 23.86 kB / 432.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3247, allocations: 61.36 kB / 432.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3247, allocations: 0 / 432.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3247, allocations: 0 / 432.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3247, allocations: 0 / 432.4 MB, free: 5.234 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005297/0.3252, allocations: 302 kB / 432.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3253, allocations: 15.98 kB / 432.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.3253, allocations: 42.73 kB / 432.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3253, allocations: 12.84 kB / 432.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3256, allocations: 138.3 kB / 432.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3256, allocations: 4.375 kB / 432.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3256, allocations: 4.375 kB / 432.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.326, allocations: 139.8 kB / 433 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.326, allocations: 15.81 kB / 433 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.326, allocations: 0 / 433 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.326, allocations: 3.938 kB / 433 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.3261, allocations: 27.98 kB / 433.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.3262, allocations: 136.8 kB / 433.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3264, allocations: 70.7 kB / 433.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.3265, allocations: 40.83 kB / 433.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.3265, allocations: 0 / 433.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3265, allocations: 38.56 kB / 433.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3265, allocations: 4 kB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002268/0.3267, allocations: 101.7 kB / 433.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3268, allocations: 59.41 kB / 433.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3269, allocations: 144.7 kB / 433.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3269, allocations: 25.7 kB / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.327, allocations: 88.14 kB / 433.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.327, allocations: 7.984 kB / 433.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3271, allocations: 25.66 kB / 433.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3272, allocations: 322.8 kB / 434.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.3272, allocations: 8 kB / 434.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.3273, allocations: 58.86 kB / 434.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.3274, allocations: 74.75 kB / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3274, allocations: 0 / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001472/0.3275, allocations: 97.5 kB / 434.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3275, allocations: 11.88 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3276, allocations: 4 kB / 434.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3276, allocations: 0 / 434.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.3277, allocations: 19.98 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3277, allocations: 0 / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.3277, allocations: 7.938 kB / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3277, allocations: 7.938 kB / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001117/0.3278, allocations: 138 kB / 434.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3279, allocations: 89.83 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.328, allocations: 12.72 kB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.328, allocations: 4 kB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.328, allocations: 0 / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.328, allocations: 0 / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3281, allocations: 136.7 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3281, allocations: 4 kB / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.3281, allocations: 12.17 kB / 434.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.3282, allocations: 7.938 kB / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3282, allocations: 3.938 kB / 434.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3282, allocations: 7.938 kB / 434.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3282, allocations: 0 / 434.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3283, allocations: 109 kB / 434.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3284, allocations: 23.83 kB / 434.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3284, allocations: 4 kB / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.3284, allocations: 7.984 kB / 434.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.3284, allocations: 0 / 434.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.3284, allocations: 0 / 434.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.3285, allocations: 107.3 kB / 435 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 4 kB / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.3287, allocations: 8 kB / 435.1 MB, free: 2.223 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005252/0.3292, allocations: 0.6748 MB / 435.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3293, allocations: 43.91 kB / 435.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3293, allocations: 4 kB / 435.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3293, allocations: 0 / 435.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3296, allocations: 51.92 kB / 435.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3309, allocations: 1.376 MB / 437.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.475e-05/0.331, allocations: 83.31 kB / 437.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.447e-05/0.331, allocations: 8.609 kB / 437.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.3311, allocations: 23.42 kB / 437.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3311, allocations: 0 / 437.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.358, allocations: 2.382 MB / 439.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.09, allocations: 2.969 kB / 439.7 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,previous(unitDelay1.u),assignClock1.u,assignClock1.y,const.y,sum.u[1] [Calling sys.exit(0), Time elapsed: 13.749670793768018]