Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.00131/0.00131, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001451/0.001451, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2888, allocations: 53.37 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002551/0.2914, allocations: 0.9649 MB / 432.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.2918, allocations: 107.6 kB / 432.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2919, allocations: 7.938 kB / 432.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.215e-05/0.2919, allocations: 7.875 kB / 432.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2921, allocations: 19.84 kB / 432.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.2923, allocations: 27.98 kB / 432.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2924, allocations: 43.84 kB / 432.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2926, allocations: 28.09 kB / 432.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.2926, allocations: 15.94 kB / 432.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.2926, allocations: 19.86 kB / 432.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2927, allocations: 4 kB / 432.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.2927, allocations: 4 kB / 432.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.2927, allocations: 15.92 kB / 432.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.2928, allocations: 23.81 kB / 432.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2929, allocations: 61.36 kB / 432.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2929, allocations: 0 / 432.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2929, allocations: 0 / 432.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2929, allocations: 0 / 432.5 MB, free: 5.492 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.0004358/0.2933, allocations: 306 kB / 432.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2934, allocations: 8.031 kB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.2934, allocations: 34.75 kB / 432.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.2935, allocations: 16.83 kB / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.2937, allocations: 130.4 kB / 433 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2937, allocations: 8.359 kB / 433 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.2937, allocations: 4.375 kB / 433 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.294, allocations: 135.5 kB / 433.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.294, allocations: 0 / 433.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.294, allocations: 4 kB / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.294, allocations: 0 / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.2941, allocations: 23.91 kB / 433.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.2942, allocations: 148.6 kB / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2944, allocations: 62.72 kB / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.2944, allocations: 32.89 kB / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2945, allocations: 0 / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2945, allocations: 46.44 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.2945, allocations: 0 / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002039/0.2947, allocations: 93.61 kB / 433.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.2948, allocations: 59.41 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2949, allocations: 132.3 kB / 433.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2949, allocations: 25.7 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.295, allocations: 88.14 kB / 433.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.295, allocations: 7.984 kB / 433.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.295, allocations: 21.72 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2951, allocations: 314.8 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.2952, allocations: 19.92 kB / 434.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.2952, allocations: 58.81 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.564e-05/0.2953, allocations: 74.73 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.2953, allocations: 4 kB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001317/0.2955, allocations: 93.55 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2955, allocations: 7.938 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2955, allocations: 4 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2955, allocations: 0 / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.2956, allocations: 27.92 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2956, allocations: 0 / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.2956, allocations: 7.953 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.2956, allocations: 4 kB / 434.5 MB, free: 3.285 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: 0 () * 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 9.873e-05/0.2957, allocations: 125.9 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.2958, allocations: 77.73 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.2959, allocations: 12.7 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2959, allocations: 4 kB / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2959, allocations: 0 / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2959, allocations: 0 / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.296, allocations: 144.7 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.296, allocations: 0 / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.296, allocations: 19.92 kB / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.296, allocations: 0 / 434.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.296, allocations: 4 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2961, allocations: 4 kB / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2961, allocations: 0 / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.2962, allocations: 101 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.2962, allocations: 15.88 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2962, allocations: 8 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.666e-05/0.2963, allocations: 0 / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.2963, allocations: 0 / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2963, allocations: 0 / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.983e-05/0.2963, allocations: 114.2 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2963, allocations: 0 / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.2965, allocations: 12 kB / 435.1 MB, free: 2.578 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: 0 () * 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.0005191/0.2971, allocations: 0.6594 MB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.2972, allocations: 47.92 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2972, allocations: 0 / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-07/0.2972, allocations: 0 / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2975, allocations: 43.81 kB / 435.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2988, allocations: 1.348 MB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2992, allocations: 0.6962 MB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.2992, allocations: 7.938 kB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.2993, allocations: 19.42 kB / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2993, allocations: 0 / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.3279, allocations: 1.883 MB / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.19, allocations: 2.969 kB / 439.8 MB, free: 13.83 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.63998075100244]