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.001446/0.001446, 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.001964/0.001964, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8 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.001595/0.001595, allocations: 51.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2974, allocations: 53.35 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002587/0.3, allocations: 0.9636 MB / 432.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004038/0.3004, allocations: 115.6 kB / 432.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.3005, allocations: 11.94 kB / 432.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.3006, allocations: 7.922 kB / 432.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3007, allocations: 3.938 kB / 432.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.301, allocations: 47.78 kB / 432.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3011, allocations: 43.84 kB / 432.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3012, allocations: 20.17 kB / 432.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.3013, allocations: 11.94 kB / 432.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.3013, allocations: 23.8 kB / 432.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3014, allocations: 4 kB / 432.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.3014, allocations: 4 kB / 432.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3014, allocations: 19.92 kB / 432.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3015, allocations: 23.81 kB / 432.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3016, allocations: 56.09 kB / 432.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3016, allocations: 4 kB / 432.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3016, allocations: 0 / 432.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3016, allocations: 0 / 432.5 MB, free: 5.531 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.0004762/0.3021, allocations: 298 kB / 432.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3022, allocations: 12.03 kB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.3022, allocations: 38.73 kB / 432.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.3022, allocations: 12.89 kB / 432.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3025, allocations: 138.4 kB / 433 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3025, allocations: 4.375 kB / 433 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3025, allocations: 384 / 433 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3027, allocations: 135.5 kB / 433.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3027, allocations: 4 kB / 433.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3028, allocations: 4 kB / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3028, allocations: 0 / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.3028, allocations: 15.94 kB / 433.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.303, allocations: 148.6 kB / 433.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3031, allocations: 70.7 kB / 433.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.3032, allocations: 32.89 kB / 433.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.3032, allocations: 4 kB / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3032, allocations: 42.5 kB / 433.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3032, allocations: 3.938 kB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001938/0.3034, allocations: 81.88 kB / 433.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3035, allocations: 59.48 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3036, allocations: 132.6 kB / 433.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3037, allocations: 29.7 kB / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3037, allocations: 92.28 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.3037, allocations: 0 / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3038, allocations: 25.72 kB / 433.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3039, allocations: 314.8 kB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.3039, allocations: 12 kB / 434.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.304, allocations: 74.7 kB / 434.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3041, allocations: 74.75 kB / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3041, allocations: 0 / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001342/0.3043, allocations: 93.44 kB / 434.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3043, allocations: 4 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3043, allocations: 4 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3043, allocations: 7.938 kB / 434.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.3044, allocations: 20.19 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3044, allocations: 0 / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.3044, allocations: 7.953 kB / 434.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3044, allocations: 4 kB / 434.5 MB, free: 3.328 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.0001105/0.3045, allocations: 126.5 kB / 434.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3046, allocations: 77.52 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.3047, allocations: 12.72 kB / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3047, allocations: 0 / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3047, allocations: 0 / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3047, allocations: 4 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.3048, allocations: 148.7 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3048, allocations: 0 / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.3049, allocations: 11.94 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3049, allocations: 4 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3049, allocations: 0 / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3049, allocations: 0 / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3049, allocations: 0 / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.305, allocations: 105 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3051, allocations: 23.89 kB / 435 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3051, allocations: 3.984 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.3051, allocations: 4 kB / 435 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.3051, allocations: 0 / 435 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.3051, allocations: 8 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.382e-05/0.3052, allocations: 99.27 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3052, allocations: 4 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.3054, allocations: 4 kB / 435.1 MB, free: 2.625 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.0006099/0.306, allocations: 0.6631 MB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3061, allocations: 40.11 kB / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3061, allocations: 0 / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3061, allocations: 3.938 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3065, allocations: 47.31 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3077, allocations: 1.346 MB / 437.2 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3081, allocations: 0.6924 MB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.3081, allocations: 19.88 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3082, allocations: 19.44 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3082, allocations: 0 / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.3362, allocations: 1.878 MB / 439.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.25, allocations: 17.22 kB / 439.8 MB, free: 13.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.726778795942664]