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.001329/0.001329, allocations: 114 kB / 20.43 MB, free: 1.457 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.001674/0.001674, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 8 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.001856/0.001856, allocations: 60.14 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2875, allocations: 53.41 MB / 431.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002429/0.2899, allocations: 0.8695 MB / 432 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004553/0.2904, allocations: 119.6 kB / 432.2 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2905, allocations: 3.938 kB / 432.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.2906, allocations: 11.92 kB / 432.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2908, allocations: 3.938 kB / 432.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.291, allocations: 47.39 kB / 432.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2912, allocations: 39.91 kB / 432.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2913, allocations: 15.98 kB / 432.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.2913, allocations: 23.86 kB / 432.3 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.2914, allocations: 23.92 kB / 432.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2914, allocations: 4 kB / 432.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.2914, allocations: 4 kB / 432.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.2915, allocations: 15.92 kB / 432.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2915, allocations: 27.75 kB / 432.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2917, allocations: 64.31 kB / 432.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2917, allocations: 4 kB / 432.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2917, allocations: 0 / 432.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2917, allocations: 0 / 432.4 MB, free: 5.555 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.0005548/0.2922, allocations: 302 kB / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2923, allocations: 12.03 kB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.2923, allocations: 34.75 kB / 432.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2923, allocations: 12.84 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.2926, allocations: 148.8 kB / 432.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.2926, allocations: 384 / 432.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2926, allocations: 4.375 kB / 433 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.2929, allocations: 147.8 kB / 433.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2929, allocations: 7.875 kB / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2929, allocations: 0 / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2929, allocations: 0 / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.293, allocations: 27.92 kB / 433.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.2931, allocations: 144.7 kB / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.2933, allocations: 70.7 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.2934, allocations: 40.88 kB / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2934, allocations: 0 / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2934, allocations: 38.56 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.2934, allocations: 0 / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002492/0.2937, allocations: 101.5 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.2937, allocations: 59.41 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.2939, allocations: 137.8 kB / 433.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2939, allocations: 29.7 kB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2939, allocations: 88.12 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.2939, allocations: 7.953 kB / 433.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.294, allocations: 29.7 kB / 433.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2941, allocations: 314.8 kB / 434.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.2941, allocations: 15.98 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.2942, allocations: 62.95 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.096e-05/0.2943, allocations: 78.73 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2943, allocations: 0 / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001317/0.2944, allocations: 85.73 kB / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2945, allocations: 15.97 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2945, allocations: 0 / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2945, allocations: 7.984 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.2946, allocations: 15.94 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2946, allocations: 4 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.2946, allocations: 11.94 kB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.2946, allocations: 4 kB / 434.5 MB, free: 3.289 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.0001103/0.2947, allocations: 125.8 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2948, allocations: 89.52 kB / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.2949, allocations: 16.7 kB / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2949, allocations: 0 / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2949, allocations: 0 / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.2949, allocations: 8 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.295, allocations: 140.9 kB / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.295, allocations: 0 / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.2951, allocations: 19.92 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2951, allocations: 3.938 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2951, allocations: 0 / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2951, allocations: 4 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2951, allocations: 4 kB / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2952, allocations: 113 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.2953, allocations: 19.88 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2953, allocations: 4 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.2953, allocations: 0 / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.2953, allocations: 0 / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2954, allocations: 4 kB / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.2954, allocations: 117.7 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2954, allocations: 0 / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.2956, allocations: 12 kB / 435.1 MB, free: 2.543 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.0005645/0.2962, allocations: 0.6753 MB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.2963, allocations: 44.06 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2963, allocations: 4 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.2963, allocations: 0 / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2967, allocations: 58.61 kB / 435.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.298, allocations: 1.368 MB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2983, allocations: 0.7002 MB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.2983, allocations: 4.656 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.2984, allocations: 15.44 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2984, allocations: 0 / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.3251, allocations: 1.96 MB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.93, allocations: 11.7 kB / 440 MB, free: 13.64 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.439268303001882]