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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 192.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 48.02 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.257, allocations: 52.18 MB / 422.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002349/0.2594, allocations: 0.9563 MB / 423.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.2597, allocations: 111.7 kB / 423.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.2598, allocations: 4 kB / 423.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.974e-05/0.2599, allocations: 7.875 kB / 423.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.26, allocations: 7.938 kB / 423.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.2602, allocations: 43.89 kB / 423.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2604, allocations: 39.86 kB / 423.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2605, allocations: 12.17 kB / 423.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.2605, allocations: 23.91 kB / 423.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.2606, allocations: 19.86 kB / 423.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.2606, allocations: 4 kB / 423.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.2606, allocations: 4 kB / 423.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.2606, allocations: 11.94 kB / 423.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.2607, allocations: 19.86 kB / 423.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2609, allocations: 69.3 kB / 423.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2609, allocations: 4 kB / 423.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2609, allocations: 0 / 423.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2609, allocations: 0 / 423.9 MB, free: 13.2 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.0004488/0.2613, allocations: 298 kB / 424.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2614, allocations: 12.03 kB / 424.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.2614, allocations: 34.75 kB / 424.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.2614, allocations: 8.891 kB / 424.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.2617, allocations: 141.2 kB / 424.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.2617, allocations: 4.375 kB / 424.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.2617, allocations: 16.31 kB / 424.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.262, allocations: 127.6 kB / 424.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.262, allocations: 0 / 424.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.262, allocations: 3.938 kB / 424.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.262, allocations: 0 / 424.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.262, allocations: 19.98 kB / 424.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2622, allocations: 136.7 kB / 424.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.2624, allocations: 74.62 kB / 424.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.458e-05/0.2624, allocations: 32.89 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2624, allocations: 4 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2625, allocations: 38.5 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2625, allocations: 0 / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002213/0.2627, allocations: 89.58 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.2628, allocations: 59.39 kB / 425 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2629, allocations: 133.8 kB / 425.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2629, allocations: 25.7 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.263, allocations: 88.14 kB / 425.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.263, allocations: 11.89 kB / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.263, allocations: 29.7 kB / 425.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2632, allocations: 310.8 kB / 425.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.2632, allocations: 15.98 kB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.2632, allocations: 50.88 kB / 425.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.2633, allocations: 82.73 kB / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2633, allocations: 0 / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001328/0.2635, allocations: 97.39 kB / 425.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2635, allocations: 4 kB / 425.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2635, allocations: 4 kB / 425.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2635, allocations: 0 / 425.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.2636, allocations: 16.23 kB / 425.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2636, allocations: 11.94 kB / 425.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.2636, allocations: 4 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2636, allocations: 4 kB / 425.9 MB, free: 11 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 0.0001034/0.2637, allocations: 117.8 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.2638, allocations: 85.7 kB / 426.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.2639, allocations: 12.66 kB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2639, allocations: 7.984 kB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2639, allocations: 0 / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2639, allocations: 0 / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.264, allocations: 140.6 kB / 426.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.264, allocations: 8.188 kB / 426.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.2641, allocations: 15.92 kB / 426.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2641, allocations: 3.938 kB / 426.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2641, allocations: 4 kB / 426.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2641, allocations: 0 / 426.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2641, allocations: 0 / 426.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2642, allocations: 97.08 kB / 426.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.2642, allocations: 23.88 kB / 426.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2643, allocations: 0 / 426.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.2643, allocations: 3.938 kB / 426.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-06/0.2643, allocations: 4 kB / 426.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2643, allocations: 4 kB / 426.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.874e-05/0.2644, allocations: 110.5 kB / 426.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2644, allocations: 0 / 426.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.2646, allocations: 11.94 kB / 426.5 MB, free: 10.29 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.0005289/0.2651, allocations: 0.6554 MB / 427.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2652, allocations: 47.84 kB / 427.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2652, allocations: 0.5625 kB / 427.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2652, allocations: 4 kB / 427.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2655, allocations: 32.56 kB / 427.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2668, allocations: 1.348 MB / 428.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.503e-05/0.2669, allocations: 83.3 kB / 428.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.267, allocations: 7.938 kB / 428.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.267, allocations: 27.42 kB / 428.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.267, allocations: 0 / 428.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.296, allocations: 2.265 MB / 431 MB, free: 5.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.34, allocations: 2.234 kB / 431 MB, free: 5.789 MB / 334.1 MB " [Timeout remaining time 649] (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 1.79641e-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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.886730486061424]