Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001855/0.001855, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002415/0.002415, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2903, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003147/0.2935, allocations: 1.464 MB / 432.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.2937, allocations: 35.84 kB / 432.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.2938, allocations: 0 / 432.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2938, allocations: 7.938 kB / 432.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.2938, allocations: 3.938 kB / 432.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2941, allocations: 31.84 kB / 432.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.2942, allocations: 31.86 kB / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2943, allocations: 11.98 kB / 432.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.2943, allocations: 8 kB / 432.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.2944, allocations: 11.92 kB / 432.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2944, allocations: 0 / 432.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.2944, allocations: 4 kB / 432.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2944, allocations: 11.92 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2944, allocations: 11.94 kB / 432.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.2945, allocations: 33.58 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2945, allocations: 4 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2945, allocations: 0 / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2945, allocations: 0 / 432.8 MB, free: 4.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004338/0.295, allocations: 266.3 kB / 433.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.295, allocations: 15.98 kB / 433.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.2951, allocations: 34.75 kB / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2951, allocations: 12.89 kB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2953, allocations: 114.5 kB / 433.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2954, allocations: 4.375 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2954, allocations: 8.375 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.2958, allocations: 127.8 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2958, allocations: 7.875 kB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2958, allocations: 0 / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2958, allocations: 0 / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2959, allocations: 19.98 kB / 433.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.296, allocations: 132.7 kB / 433.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.2962, allocations: 54.48 kB / 433.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.2963, allocations: 28.92 kB / 433.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.2963, allocations: 0 / 433.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2963, allocations: 34.56 kB / 433.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2964, allocations: 0 / 433.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002792/0.2966, allocations: 81.59 kB / 433.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.2967, allocations: 59.39 kB / 433.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.2968, allocations: 101.9 kB / 433.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2968, allocations: 25.7 kB / 433.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.2969, allocations: 88.12 kB / 434 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.2969, allocations: 3.938 kB / 434 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2969, allocations: 21.72 kB / 434 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2971, allocations: 314.8 kB / 434.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.2971, allocations: 11.98 kB / 434.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.2971, allocations: 23.44 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.2972, allocations: 39.31 kB / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2972, allocations: 0 / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.2973, allocations: 69.61 kB / 434.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2973, allocations: 7.938 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2973, allocations: 4 kB / 434.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2973, allocations: 192 / 434.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.2974, allocations: 8 kB / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2974, allocations: 7.922 kB / 434.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.2974, allocations: 4 kB / 434.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2974, allocations: 0 / 434.5 MB, free: 2.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.2976, allocations: 121.8 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.2977, allocations: 61.61 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2977, allocations: 16.47 kB / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2977, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2977, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2977, allocations: 0 / 434.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2979, allocations: 132.7 kB / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2979, allocations: 0 / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.2979, allocations: 11.98 kB / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2979, allocations: 3.938 kB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2979, allocations: 4 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2979, allocations: 3.938 kB / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2979, allocations: 0 / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.2981, allocations: 89.11 kB / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.2981, allocations: 11.94 kB / 435 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2982, allocations: 3.938 kB / 435 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.2982, allocations: 8 kB / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-06/0.2982, allocations: 0 / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2982, allocations: 0 / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.2983, allocations: 83.27 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2983, allocations: 0 / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.2984, allocations: 8 kB / 435.1 MB, free: 2.219 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006131/0.299, allocations: 0.6437 MB / 435.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.2992, allocations: 35.91 kB / 435.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2992, allocations: 0 / 435.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.2992, allocations: 0 / 435.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.2995, allocations: 28.02 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3007, allocations: 1.177 MB / 436.9 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.3007, allocations: 67.34 kB / 437 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.063e-05/0.3008, allocations: 4.25 kB / 437 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.3008, allocations: 23.36 kB / 437 MB, free: 96 kB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3008, allocations: 0 / 437 MB, free: 96 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3304, allocations: 1.909 MB / 438.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.16, allocations: 3.938 kB / 438.9 MB, free: 14.3 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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,assignClock1.u,assignClock1.y,step.y,periodicClock1.period,step.height [Calling sys.exit(0), Time elapsed: 13.695524583104998]