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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001475/0.001475, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001589/0.001589, allocations: 47.92 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2637, allocations: 53.35 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002658/0.2664, allocations: 0.9572 MB / 432 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.2668, allocations: 115.5 kB / 432.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.2669, allocations: 4 kB / 432.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.2669, allocations: 7.922 kB / 432.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2671, allocations: 7.875 kB / 432.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2673, allocations: 39.58 kB / 432.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2674, allocations: 47.86 kB / 432.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2675, allocations: 16.11 kB / 432.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.2676, allocations: 15.94 kB / 432.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.2676, allocations: 19.86 kB / 432.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2676, allocations: 4 kB / 432.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.2677, allocations: 0 / 432.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.2677, allocations: 19.92 kB / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.2678, allocations: 19.86 kB / 432.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2679, allocations: 53.38 kB / 432.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2679, allocations: 0 / 432.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2679, allocations: 0 / 432.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2679, allocations: 8 kB / 432.4 MB, free: 5.293 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.000488/0.2684, allocations: 298 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2685, allocations: 8.031 kB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.2685, allocations: 46.67 kB / 432.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.2685, allocations: 12.84 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.2688, allocations: 134.4 kB / 432.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2688, allocations: 4.375 kB / 432.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.2688, allocations: 384 / 432.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2691, allocations: 143.5 kB / 433 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2691, allocations: 0 / 433 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2691, allocations: 4 kB / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2691, allocations: 0 / 433.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.2692, allocations: 15.94 kB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.2694, allocations: 148.6 kB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2695, allocations: 54.72 kB / 433.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.2696, allocations: 32.89 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2696, allocations: 11.94 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2696, allocations: 42.5 kB / 433.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2696, allocations: 0 / 433.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002021/0.2698, allocations: 85.78 kB / 433.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.2699, allocations: 55.41 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.27, allocations: 136.5 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.27, allocations: 29.7 kB / 433.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.2701, allocations: 88.12 kB / 433.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.2701, allocations: 4 kB / 433.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.2702, allocations: 21.72 kB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2703, allocations: 322.8 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.2703, allocations: 7.938 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.2704, allocations: 62.86 kB / 434.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.2705, allocations: 70.75 kB / 434.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2705, allocations: 4 kB / 434.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001319/0.2706, allocations: 89.44 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2706, allocations: 8 kB / 434.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2706, allocations: 0 / 434.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2706, allocations: 8 kB / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.2707, allocations: 19.94 kB / 434.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2707, allocations: 7.938 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.2708, allocations: 8.203 kB / 434.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2708, allocations: 11.98 kB / 434.4 MB, free: 3.094 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.588e-05/0.2709, allocations: 118 kB / 434.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.271, allocations: 77.89 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.271, allocations: 16.66 kB / 434.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.271, allocations: 4 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.271, allocations: 0 / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.271, allocations: 0 / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2712, allocations: 136.7 kB / 434.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2712, allocations: 0 / 434.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.2712, allocations: 15.94 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2712, allocations: 7.984 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.2712, allocations: 4 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.2712, allocations: 7.984 kB / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2712, allocations: 0 / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2714, allocations: 101.1 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.2714, allocations: 23.86 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2715, allocations: 4 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.2715, allocations: 4 kB / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-06/0.2715, allocations: 0 / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2715, allocations: 0 / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.2716, allocations: 103.3 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2716, allocations: 4 kB / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.2718, allocations: 8 kB / 435 MB, free: 2.391 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.0005444/0.2723, allocations: 0.6592 MB / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2724, allocations: 39.92 kB / 435.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2724, allocations: 4 kB / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.2724, allocations: 0 / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2727, allocations: 46.05 kB / 435.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2741, allocations: 1.35 MB / 437.1 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.2741, allocations: 75.42 kB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.2742, allocations: 15.88 kB / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.2742, allocations: 15.44 kB / 437.2 MB, free: 20 kB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2742, allocations: 7.938 kB / 437.2 MB, free: 12 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.3042, allocations: 2.28 MB / 439.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.37, allocations: 0 / 439.5 MB, free: 13.88 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.883311880286783]