Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.6 kB / 17.07 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001386, allocations: 195 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 47.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002204/0.2643, allocations: 0.9544 MB / 401.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.2647, allocations: 112.5 kB / 401.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.2648, allocations: 2.344 kB / 401.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.192e-05/0.2649, allocations: 7.938 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.265, allocations: 14.12 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2652, allocations: 42.23 kB / 401.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.2653, allocations: 39.86 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2654, allocations: 25.19 kB / 401.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.2655, allocations: 17.27 kB / 401.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.2655, allocations: 22.98 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.2655, allocations: 4.188 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.2656, allocations: 2.719 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.2656, allocations: 13.06 kB / 401.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.2657, allocations: 28.33 kB / 401.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2658, allocations: 59.94 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2658, allocations: 1.406 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2658, allocations: 0 / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.2658, allocations: 0 / 401.6 MB, free: 7.438 MB / 318.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.0004322/0.2663, allocations: 376.9 kB / 401.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2663, allocations: 13.09 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.2664, allocations: 36.12 kB / 402 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2664, allocations: 9.703 kB / 402 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2666, allocations: 194.4 kB / 402.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2666, allocations: 2.594 kB / 402.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2667, allocations: 12.69 kB / 402.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2669, allocations: 134.4 kB / 402.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2669, allocations: 0 / 402.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2669, allocations: 3.938 kB / 402.3 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.267, allocations: 3.984 kB / 402.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.267, allocations: 15.98 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.2672, allocations: 177.6 kB / 402.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2673, allocations: 70.75 kB / 402.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.2674, allocations: 32.8 kB / 402.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.2674, allocations: 4 kB / 402.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2674, allocations: 42.48 kB / 402.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2674, allocations: 0 / 402.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000185/0.2676, allocations: 81.64 kB / 402.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.2677, allocations: 55.41 kB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2678, allocations: 140.2 kB / 403 MB, free: 5.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2678, allocations: 29.7 kB / 403 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.2679, allocations: 80.14 kB / 403.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.2679, allocations: 15.94 kB / 403.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2679, allocations: 17.72 kB / 403.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2681, allocations: 326.8 kB / 403.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.2681, allocations: 4 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.2682, allocations: 70.73 kB / 403.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/0.2682, allocations: 74.75 kB / 403.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2682, allocations: 0 / 403.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001191/0.2684, allocations: 85.45 kB / 403.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2684, allocations: 12.25 kB / 403.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2684, allocations: 7.922 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2684, allocations: 4 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.2685, allocations: 16 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2685, allocations: 4 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.2686, allocations: 0 / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2686, allocations: 4 kB / 403.7 MB, free: 5.105 MB / 318.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.706e-05/0.2687, allocations: 125.8 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.2688, allocations: 73.73 kB / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.2688, allocations: 24.7 kB / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2688, allocations: 0 / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2688, allocations: 0 / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2688, allocations: 4 kB / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.269, allocations: 181.5 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.269, allocations: 0 / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.269, allocations: 15.94 kB / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.269, allocations: 0 / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2691, allocations: 0 / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2691, allocations: 400 / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2691, allocations: 3.938 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.2692, allocations: 105.1 kB / 404.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.2693, allocations: 96.98 kB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2693, allocations: 7.984 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.2693, allocations: 0 / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.2693, allocations: 0 / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2693, allocations: 4 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.2694, allocations: 102.1 kB / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2694, allocations: 4 kB / 404.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.2696, allocations: 12 kB / 404.4 MB, free: 4.258 MB / 318.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.0005141/0.2701, allocations: 0.667 MB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2703, allocations: 44.34 kB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2703, allocations: 4.312 kB / 405.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2703, allocations: 3.938 kB / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2706, allocations: 47.16 kB / 405.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2719, allocations: 1.336 MB / 406.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2722, allocations: 0.6963 MB / 407.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.979e-05/0.2723, allocations: 7.984 kB / 407.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.2723, allocations: 15.44 kB / 407.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2723, allocations: 0 / 407.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.2891, allocations: 1.739 MB / 409 MB, free: 15.63 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.782, allocations: 4.609 kB / 409 MB, free: 15.62 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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 3.6e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches